Merge pull request #11167 from Tharazi97/Lp_ticker_tests

Fix lp ticker and common ticker tests
pull/11212/head
Martin Kojtal 2019-08-13 11:10:10 +02:00 committed by GitHub
commit 80556a01fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ void overflow_protect()
return;
}
while (intf->read() > ticks_now);
while (intf->read() >= ticks_now);
}
void ticker_event_handler_stub(const ticker_data_t *const ticker)

View File

@ -86,7 +86,7 @@ void overflow_protect()
return;
}
while (lp_ticker_read() > ticks_now);
while (lp_ticker_read() >= ticks_now);
}
void ticker_event_handler_stub(const ticker_data_t *const ticker)