diff --git a/src_main/system/pisystemtests.cpp b/src_main/system/pisystemtests.cpp index 102e3ea9..5913d4ab 100755 --- a/src_main/system/pisystemtests.cpp +++ b/src_main/system/pisystemtests.cpp @@ -39,9 +39,9 @@ PISystemTests::PISystemTestReader::PISystemTestReader() { #if !defined(WINDOWS) && !defined(FREERTOS) PIConfig conf(PIStringAscii("/etc/pip.conf"), PIIODevice::ReadOnly); //conf.setReopenEnabled(false); - time_resolution_ns = conf.getValue(PIStringAscii("time_resolution_ns"), 1); - time_elapsed_ns = conf.getValue(PIStringAscii("time_elapsed_ns"), 0); - usleep_offset_us = conf.getValue(PIStringAscii("usleep_offset_us"), 60); + time_resolution_ns = conf.getValue(PIStringAscii("time_resolution_ns"), 1).toLong(); + time_elapsed_ns = conf.getValue(PIStringAscii("time_elapsed_ns"), 0).toLong(); + usleep_offset_us = conf.getValue(PIStringAscii("usleep_offset_us"), 60).toLong(); #endif }