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.

shortcuts: Power off while charging if supported

Change-Id: I33b9d643053f746d24240ba59a34a1f9c7644f3e

authored by

Christian Soffke and committed by
Solomon Peachy
71d2016f 994acefa

+2 -2
+2 -2
apps/shortcuts.c
··· 821 821 run_debug_screen(sc->u.path); 822 822 break; 823 823 case SHORTCUT_SHUTDOWN: 824 - #if CONFIG_CHARGING 824 + #if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING) 825 825 if (charger_inserted()) 826 826 charging_splash(); 827 827 else ··· 829 829 sys_poweroff(); 830 830 break; 831 831 case SHORTCUT_REBOOT: 832 - #if CONFIG_CHARGING 832 + #if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING) 833 833 if (charger_inserted()) 834 834 charging_splash(); 835 835 else