diff options
author | Tomasz Moń <desowin@gmail.com> | 2021-06-20 10:06:32 +0200 |
---|---|---|
committer | Tomasz Moń <desowin@gmail.com> | 2021-06-20 10:33:46 +0000 |
commit | 2ca5774cf9613b0f2c1d31d6054911b8cb36e131 (patch) | |
tree | edf53ec38a68ee731250664d9565f01d65e48496 /firmware/target/arm/tms320dm320/sansa-connect/power-sansaconnect.c | |
parent | 0faf978c3dec53f62c0b1624e883e9ee03b9c788 (diff) | |
download | rockbox-2ca5774cf9613b0f2c1d31d6054911b8cb36e131.tar.gz rockbox-2ca5774cf9613b0f2c1d31d6054911b8cb36e131.zip |
Sansa Connect: Indicate charging status
Consider battery level down to 0 as safe as OF continues to operate
normally even when at level 0.
Change-Id: Ie3889e5662b9fa6588e20ad02d8953f29e28800c
Diffstat (limited to 'firmware/target/arm/tms320dm320/sansa-connect/power-sansaconnect.c')
-rw-r--r-- | firmware/target/arm/tms320dm320/sansa-connect/power-sansaconnect.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/firmware/target/arm/tms320dm320/sansa-connect/power-sansaconnect.c b/firmware/target/arm/tms320dm320/sansa-connect/power-sansaconnect.c index ecdf3b1a75..b139572605 100644 --- a/firmware/target/arm/tms320dm320/sansa-connect/power-sansaconnect.c +++ b/firmware/target/arm/tms320dm320/sansa-connect/power-sansaconnect.c | |||
@@ -74,21 +74,7 @@ void power_off(void) | |||
74 | avr_hid_power_off(); | 74 | avr_hid_power_off(); |
75 | } | 75 | } |
76 | 76 | ||
77 | #if CONFIG_CHARGING | ||
78 | unsigned int power_input_status(void) | ||
79 | { | ||
80 | return POWER_INPUT_NONE; | ||
81 | } | ||
82 | |||
83 | /* Returns true if the unit is charging the batteries. */ | ||
84 | bool charging_state(void) | ||
85 | { | ||
86 | return false; | ||
87 | } | ||
88 | #endif | ||
89 | |||
90 | void ide_power_enable(bool on) | 77 | void ide_power_enable(bool on) |
91 | { | 78 | { |
92 | (void)on; | 79 | (void)on; |
93 | } | 80 | } |
94 | |||