Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Revert r26055 since it breaks certain Archos targets.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26067 a1c6a512-1295-4272-9138-f99709370657

+1 -17
+1 -9
apps/misc.c
··· 264 264 scrobbler_poweroff(); 265 265 266 266 #if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING) 267 - #if CONFIG_CHARGING >= CHARGING_MONITOR 268 - if(!charging_state()) 269 - #else 270 267 if(!charger_inserted()) 271 - #endif 272 268 #endif 273 269 { 274 270 bool batt_safe = battery_level_safe(); ··· 410 406 411 407 if (TIME_BEFORE(current_tick, last_off + HZ/2)) 412 408 { 413 - #if CONFIG_CHARGING >= CHARGING_MONITOR 414 - if (charging_state()) 415 - #else 416 - if (charger_inserted()) 417 - #endif 409 + if (charger_inserted()) 418 410 { 419 411 charging_splash(); 420 412 ret = true; /* screen is dirty, caller needs to refresh */
-4
firmware/drivers/button.c
··· 205 205 #endif 206 206 ) && 207 207 #if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING) 208 - #if CONFIG_CHARGING >= CHARGING_MONITOR 209 - !charging_state() && 210 - #else 211 208 !charger_inserted() && 212 - #endif 213 209 #endif 214 210 repeat_count > POWEROFF_COUNT) 215 211 {
-4
firmware/powermgmt.c
··· 358 358 359 359 if (usb_inserted() 360 360 #if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING) 361 - #if CONFIG_CHARGING >= CHARGING_MONITOR 362 - || charging_state() 363 - #else 364 361 || charger_input_state != NO_CHARGER 365 - #endif 366 362 #endif 367 363 ) { 368 364 DEBUGF("Sleep timer timeout. Stopping...\n");