Explorar el Código

fix build errors

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui hace 5 años
padre
commit
fd3228f060
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Application/bsp/mcu_power_sleep.c

+ 1 - 1
Application/bsp/mcu_power_sleep.c

@@ -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){