Use high resolution time for Timer::read().

pull/8479/head
Thomas Kemmer 2018-09-03 20:54:27 +02:00 committed by adbridge
parent 6334e71cc3
commit 90253ef7f5
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ int Timer::read_us()
float Timer::read()
{
return (float)read_us() / 1000000.0f;
return (float)read_high_resolution_us() / 1000000.0f;
}
int Timer::read_ms()