summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/powermgmt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index dd2fc9f..cdf29f5 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -47,6 +47,7 @@
#include "tlv320.h"
#endif
#include "logf.h"
+#include "lcd-remote.h"
/*
* Define DEBUG_FILE to create a csv (spreadsheet) with battery information
@@ -919,6 +920,9 @@ void shutdown_hw(void)
sleep(1);
lcd_set_contrast(0);
#endif
+#ifdef HAVE_REMOTE_LCD
+ lcd_remote_backlight_off();
+#endif
power_off();
#endif /* #ifndef SIMULATOR */
}