Can make global variable access more efficient at the price of erroring
out if a variable is declared in more than one place.
Change-Id: I918eacf4a4c8c7827be64f7f2ee04cc6cc2009e0
Previous code returned 0 in targets using only `PERCENTAGE_MEASURE` which means the simulator closed itself (due to low battery) shortly after boot.
Change-Id: I8b66dd085e02a8e565893aad4c8b643233dd3852
Cleaned up manual changes, and for some reason i forgot to add ACTION_WPS_ABRESET
mappings before so here it is, needed for the manual wps section.
Change-Id: If7ab8b146e84f91bb51a3ed03fb872ef3bab4d1f
The current code checks the date listed in the "Version" string
in rockbox-info.txt, and updates if the new package has a newer date.
However this is not granular enough, especially when you are iterating
multiple builds on a single day. It also prevents downgrading to
an older build.
So, instead of checking for a newer date, apply the update if the new
version string (including the commit id) is merely *different* than the
installed one.
Change-Id: Ie5d10ffe011afd1efb3c76c77a3ed19d36df9321
This caused the devices to crash a few seconds after sending the command. A small power consumption increase is possible when the screen is off with this patch, but Rockbox doesn't crash anymore. Type 0 and 1 are not affected as they use a completely different sequence.
Tested on iPod 6G LCD type 1 and LCD type 2. Type 0 is similar to Type 1, Type 3 is similar to Type 2, so it should cover all available LCD types.
Change-Id: I3e8a653ca22bf59e3db38e1d26e747b358e62cb2
A bit of context, this device is a clone of the FunKey-S with a different form factor, hardware is mostly identical, the relevant difference is it has audio out (via usb-c, adapter to 3.5mm is included), this is the reason why the FunKey-SDK is needed for bulding.
This port is based on the old SDL 1.2 code because the device doesn't have SDL2 support. Alongside what was supported in the SDL 1.2 builds this port supports battery level, charging status and backlight control.
Change-Id: I7fcb85be62748644b667c0efebabf59d6e9c5ade
This should allow either accesspory port to be used for IAP comms.
No regressions on an ipodphoto and mini2g through the dock connector,
but I don't have any headset-attached accessories to test against.
Change-Id: If217d8147ee871b20ad5f81ba95542379eb9f2dc
In direct mode, the statically allocated Rockbox LCD framebuffer is used and should never be freed. Otherwise, ROCKBOX_VideoQuit takes care of freeing the dynamically allocated hidden buffer, used for scaling.
This fixed hanging of Rockbox when quitting an SDL app.
Change-Id: Ib9cd8c04cc0d2d6ccedaa582a5a85ef211d0273c
This lets us have multiple serial ports enabled, which will help with
4th-gen ipods that have a serial port in the HP jack as well in the dock.
Change-Id: I6a00a776020848a6908413e05a6f27bad65b2d8e
This feature allow easily to start playing all albums from an artist by following the albums tracks orders, just like the Stock OS does on the iPods when you try to listen to all songs from an artist.
It is just a new opportunity, I did not touch the former "All tracks" button which sorts everything by title automatically since it is also very useful (and stock OS don't have this one, and sorting Alphabetically is very useful to listen to all versions of one track from an artist view).
Change-Id: Icf2a29bffe49c4e72f9c81d9727310b84c1150e4
This reverts commit 9d92d161d8.
Reason for revert: going to end up changing this might as well just revert
Change-Id: I914f61a5e79f80ff1bf40c06253c85dba25cc305
if playername.txt is modified its now splashed on device start-up
should be less confusing than having it in the WPS theme I hope..
Change-Id: Ifcec491f75a0c977a98d26292509f4ca62d79dac
This reverts commit 614c6e9500.
Reason for revert: Just because you find it confusing doesn't mean it doesn't have a purpose..
make YOUR own theme if you don't like it seems like just as useful as the previous commit
Change-Id: I1555f483baaae77e396e88af6973c90414ee11dc