Deleted constant in calculate interrupt timing.

pull/1229/head
hjjeon0608 2015-07-20 14:54:56 +09:00
parent 1479d07a5c
commit 55dc1fd077
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ void us_ticker_set_interrupt(timestamp_t timestamp)
us_ticker_init();
}
dev = (int32_t)(timestamp - (us_ticker_read() + 160));
dev = (int32_t)(timestamp - us_ticker_read());
dev = dev * ((GetSystemClock() / 1000000) / 16);
if(dev <= 0)