diff options
Diffstat (limited to 'firmware/target/arm')
-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 8f6291201f..f822819f4c 100644 --- a/firmware/target/arm/as3525/system-as3525.c +++ b/firmware/target/arm/as3525/system-as3525.c | |||
@@ -305,6 +305,9 @@ void system_init(void) | |||
305 | void system_reboot(void) | 305 | void system_reboot(void) |
306 | { | 306 | { |
307 | _backlight_off(); | 307 | _backlight_off(); |
308 | |||
309 | disable_irq(); | ||
310 | |||
308 | /* use watchdog to reset */ | 311 | /* use watchdog to reset */ |
309 | CGU_PERI |= (CGU_WDOCNT_CLOCK_ENABLE | CGU_WDOIF_CLOCK_ENABLE); | 312 | CGU_PERI |= (CGU_WDOCNT_CLOCK_ENABLE | CGU_WDOIF_CLOCK_ENABLE); |
310 | WDT_LOAD = 1; /* set counter to 1 */ | 313 | WDT_LOAD = 1; /* set counter to 1 */ |