Merge pull request #1233 from adamdunkels/pr/26xx-13xx-fixes

CC26xx/CC13xx fixes
This commit is contained in:
George Oikonomou 2015-11-09 08:33:58 +00:00
commit a63efe947f
5 changed files with 46 additions and 17 deletions

View file

@ -281,7 +281,7 @@ lpm_drop()
if(next_event) {
next_event = next_event - clock_time();
soc_rtc_schedule_one_shot(AON_RTC_CH1, RTIMER_NOW() +
soc_rtc_schedule_one_shot(AON_RTC_CH1, soc_rtc_last_isr_time() +
(next_event * (RTIMER_SECOND / CLOCK_SECOND)));
}