rockbox/firmware/target/hosted/xduoo
Solomon Peachy 555299af9f hosted: Consolidate the code that polls the battery charging status
affects all hiby targets, fiiom3k, and ibasso dx50/dx90

As well as deduplicating a small pile of code, this also implements
hysteresis so we're not doing a sysfs read/lookup multiple times
back-to-back every time the power management tick fires.

Change-Id: I2f7672acbb36341becf67e07960c24c681270d09
2021-03-10 18:29:29 -05:00
..
adc-target.h xDuoo X3II and X20 port 2020-04-06 18:15:41 +02:00
button-target.h hosted: Consolidate common /dev/input code shared by the hiby targets 2020-10-31 14:17:22 +00:00
button-xduoo.c hosted: Consolidate common /dev/input code shared by the hiby targets 2020-10-31 14:17:22 +00:00
debug-xduoo.c hosted pcm-alsa improvements 2020-10-01 11:56:57 -04:00
lcd-target.h xDuoo X3II and X20 port 2020-04-06 18:15:41 +02:00
power-xduoo.c hosted: Consolidate the code that polls the battery charging status 2021-03-10 18:29:29 -05:00
power-xduoo.h hosted: Consolidate the code that polls the battery charging status 2021-03-10 18:29:29 -05:00
powermgmt-xduoo.c hosted: Consolidate the code that polls the battery charging status 2021-03-10 18:29:29 -05:00
system-target.h xDuoo X3II and X20 port 2020-04-06 18:15:41 +02:00
xduoo.make Don't compile audio codecs into native bootloader builds. 2020-10-08 19:20:50 -04:00