diff options
Diffstat (limited to 'firmware/target/hosted/sdl/button-sdl.c')
-rw-r--r-- | firmware/target/hosted/sdl/button-sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/sdl/button-sdl.c b/firmware/target/hosted/sdl/button-sdl.c index eb4869ae25..91338bb0d5 100644 --- a/firmware/target/hosted/sdl/button-sdl.c +++ b/firmware/target/hosted/sdl/button-sdl.c | |||
@@ -278,7 +278,7 @@ static bool event_handler(SDL_Event *event) | |||
278 | } | 278 | } |
279 | case SDL_QUIT: | 279 | case SDL_QUIT: |
280 | /* Will post SDL_USEREVENT in shutdown_hw() if successful. */ | 280 | /* Will post SDL_USEREVENT in shutdown_hw() if successful. */ |
281 | sys_poweroff(); | 281 | sdl_sys_quit(); |
282 | break; | 282 | break; |
283 | case SDL_USEREVENT: | 283 | case SDL_USEREVENT: |
284 | return true; | 284 | return true; |