diff options
Diffstat (limited to 'firmware/target/hosted')
-rw-r--r-- | firmware/target/hosted/system-hosted.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/hosted/system-hosted.c b/firmware/target/hosted/system-hosted.c index ce47fd5f5c..c4ae5a404f 100644 --- a/firmware/target/hosted/system-hosted.c +++ b/firmware/target/hosted/system-hosted.c | |||
@@ -90,6 +90,7 @@ static void sig_handler(int sig, siginfo_t *siginfo, void *context) | |||
90 | void power_off(void) | 90 | void power_off(void) |
91 | { | 91 | { |
92 | backlight_hw_off(); | 92 | backlight_hw_off(); |
93 | sync(); | ||
93 | system("/sbin/poweroff"); | 94 | system("/sbin/poweroff"); |
94 | while (1); /* halt */ | 95 | while (1); /* halt */ |
95 | } | 96 | } |