diff options
Diffstat (limited to 'apps/screens.c')
-rw-r--r-- | apps/screens.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/screens.c b/apps/screens.c index 2bd7775569..6d16982dc4 100644 --- a/apps/screens.c +++ b/apps/screens.c | |||
@@ -906,11 +906,7 @@ bool view_runtime(void) | |||
906 | while(1) | 906 | while(1) |
907 | { | 907 | { |
908 | #if CONFIG_CHARGING | 908 | #if CONFIG_CHARGING |
909 | if (charger_inserted() | 909 | if (charger_inserted()) |
910 | #ifdef HAVE_USB_POWER | ||
911 | || usb_powered() | ||
912 | #endif | ||
913 | ) | ||
914 | { | 910 | { |
915 | global_status.runtime = 0; | 911 | global_status.runtime = 0; |
916 | } | 912 | } |