|
|
@@ -32,7 +32,7 @@ uint32_t get_system_sleep_time(void){
|
|
|
static int enable_wakeup_irq(void){
|
|
|
//hall_1_detect_irq_enable(1);
|
|
|
//hall_2_detect_irq_enable(1);
|
|
|
- shark_rtc_start_alarm(RTC_ALARM_FOR_SLEEP);
|
|
|
+ return shark_rtc_start_alarm(RTC_ALARM_FOR_SLEEP);
|
|
|
}
|
|
|
|
|
|
static void disable_wakeup_irq(void){
|