diff options
Diffstat (limited to 'firmware/target/arm/as3525/system-as3525.c')
-rw-r--r-- | firmware/target/arm/as3525/system-as3525.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c index c6469f9980..6d16c1bfca 100644 --- a/firmware/target/arm/as3525/system-as3525.c +++ b/firmware/target/arm/as3525/system-as3525.c | |||
@@ -327,6 +327,9 @@ void system_reboot(void) | |||
327 | 327 | ||
328 | void system_exception_wait(void) | 328 | void system_exception_wait(void) |
329 | { | 329 | { |
330 | /* wait until button release (if a button is pressed) */ | ||
331 | while(button_read_device()); | ||
332 | /* then wait until next button press */ | ||
330 | while(!button_read_device()); | 333 | while(!button_read_device()); |
331 | } | 334 | } |
332 | 335 | ||