diff options
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 1a1d576e67..c2f9ca0bca 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -727,7 +727,7 @@ static int runcurrent(void) | |||
727 | 727 | ||
728 | 728 | ||
729 | /* Check to see whether or not we've received an alarm in the last second */ | 729 | /* Check to see whether or not we've received an alarm in the last second */ |
730 | #ifdef HAVE_ALARM_MOD | 730 | #ifdef HAVE_RTC_ALARM |
731 | static void power_thread_rtc_process(void) | 731 | static void power_thread_rtc_process(void) |
732 | { | 732 | { |
733 | if (rtc_check_alarm_flag()) { | 733 | if (rtc_check_alarm_flag()) { |
@@ -823,7 +823,7 @@ static void power_thread_sleep(int ticks) | |||
823 | power_off(); | 823 | power_off(); |
824 | } | 824 | } |
825 | 825 | ||
826 | #ifdef HAVE_ALARM_MOD | 826 | #ifdef HAVE_RTC_ALARM |
827 | power_thread_rtc_process(); | 827 | power_thread_rtc_process(); |
828 | #endif | 828 | #endif |
829 | 829 | ||