mirror of https://github.com/ARMmbed/mbed-os.git
Deleted constant in calculate interrupt timing.
parent
1479d07a5c
commit
55dc1fd077
|
@ -91,7 +91,7 @@ void us_ticker_set_interrupt(timestamp_t timestamp)
|
||||||
us_ticker_init();
|
us_ticker_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
dev = (int32_t)(timestamp - (us_ticker_read() + 160));
|
dev = (int32_t)(timestamp - us_ticker_read());
|
||||||
dev = dev * ((GetSystemClock() / 1000000) / 16);
|
dev = dev * ((GetSystemClock() / 1000000) / 16);
|
||||||
|
|
||||||
if(dev <= 0)
|
if(dev <= 0)
|
||||||
|
|
Loading…
Reference in New Issue