Quellcode durchsuchen

fix build errors

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui vor 5 Jahren
Ursprung
Commit
fd3228f060
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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){