mirror of https://github.com/ARMmbed/mbed-os.git
[HAL] K64F - timestamp_t change in usticker
parent
385d2fe792
commit
a83f8e809d
|
@ -132,7 +132,7 @@ static void lptmr_isr(void) {
|
|||
}
|
||||
}
|
||||
|
||||
void us_ticker_set_interrupt(unsigned int timestamp) {
|
||||
void us_ticker_set_interrupt(timestamp_t timestamp) {
|
||||
int delta = (int)(timestamp - us_ticker_read());
|
||||
if (delta <= 0) {
|
||||
// This event was in the past:
|
||||
|
|
Loading…
Reference in New Issue