summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index cdf29f53b1..ed3f42287c 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -385,7 +385,7 @@ static void handle_auto_poweroff(void)
385 385
386 if(timeout && 386 if(timeout &&
387#ifdef CONFIG_TUNER 387#ifdef CONFIG_TUNER
388 (radio_get_status() != FMRADIO_PLAYING) && 388 (!radio_powered()) &&
389#endif 389#endif
390 !usb_inserted() && 390 !usb_inserted() &&
391 ((audio_stat == 0) || 391 ((audio_stat == 0) ||