Explorar o código

fix build errors

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui %!s(int64=5) %!d(string=hai) anos
pai
achega
fd3228f060
Modificáronse 1 ficheiros con 1 adicións e 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){