Change hardcoded prescale setting

pull/1229/head
hjjeon0608 2015-07-17 11:01:48 +09:00
parent 28c307665f
commit 1479d07a5c
1 changed files with 2 additions and 2 deletions

View File

@ -92,8 +92,8 @@ void us_ticker_set_interrupt(timestamp_t timestamp)
}
dev = (int32_t)(timestamp - (us_ticker_read() + 160));
dev = dev * 1.27;
dev = dev * ((GetSystemClock() / 1000000) / 16);
if(dev <= 0)
{
us_ticker_irq_handler();