white space diff.

pull/932/head
Rohit Grover 2015-02-25 15:46:55 +00:00 committed by Rohit Grover
parent 5afdc68620
commit 70f91c10d5
1 changed files with 1 additions and 3 deletions

View File

@ -151,9 +151,7 @@ void RTC1_IRQHandler(void)
NRF_RTC1->EVENTS_OVRFLW = 0;
NRF_RTC1->EVTENCLR = RTC_EVTEN_OVRFLW_Msk;
}
if (NRF_RTC1->EVENTS_COMPARE[0] &&
us_ticker_callbackPending &&
((int)(us_ticker_callbackTimestamp - rtc1_getCounter()) <= 0)) {
if (NRF_RTC1->EVENTS_COMPARE[0] && us_ticker_callbackPending && ((int)(us_ticker_callbackTimestamp - rtc1_getCounter()) <= 0)) {
NRF_RTC1->EVENTS_COMPARE[0] = 0;
NRF_RTC1->EVTENCLR = RTC_EVTEN_COMPARE0_Msk;
INVOKE_CALLBACK();