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

pull/7975/head
Thomas Kemmer 2018-09-03 20:54:27 +02:00
parent 4fb3aec84a
commit 9c4ec9cfae
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()