summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/base
diff options
context:
space:
mode:
authorJames Buren <braewoods+rb@braewoods.net>2020-11-14 11:56:53 +0000
committerJames Buren <braewoods+rb@braewoods.net>2020-11-14 11:57:32 +0000
commitd5a2aeb6c48d0533dddcc743154b074d1f813928 (patch)
treecff9d28eb7a177dbe0df84a6d1d31232d8e44993 /rbutil/rbutilqt/base
parent03cd7730510558d6434f205743d71c3e197df608 (diff)
downloadrockbox-d5a2aeb6c48d0533dddcc743154b074d1f813928.tar.gz
rockbox-d5a2aeb6c48d0533dddcc743154b074d1f813928.zip
rockbox: revise charger_inserted and power_input_present functions
This makes it so the thread cached variable is only read if building the regular firmware. For bootloaders the data is now read directly. This fixes the functions for bootloaders so they do not have to import the power management code just so these functions will work when in the bootloader. Change-Id: Ic425b02c08b48df7a11a6c19c022b0e1cb316a85
Diffstat (limited to 'rbutil/rbutilqt/base')
0 files changed, 0 insertions, 0 deletions