platformio_pre.py
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "pisystemtests.h"
|
||||
|
||||
#ifndef PIP_FREERTOS
|
||||
#ifndef MICRO_PIP
|
||||
# include "piconfig.h"
|
||||
#endif
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace PISystemTests {
|
||||
|
||||
|
||||
PISystemTests::PISystemTestReader::PISystemTestReader() {
|
||||
#if !defined(WINDOWS) && !defined(FREERTOS)
|
||||
#if !defined(WINDOWS) && !defined(MICRO_PIP)
|
||||
PIConfig conf(PIStringAscii("/etc/pip.conf"), PIIODevice::ReadOnly);
|
||||
time_resolution_ns = conf.getValue(PIStringAscii("time_resolution_ns"), 1).toLong();
|
||||
time_elapsed_ns = conf.getValue(PIStringAscii("time_elapsed_ns"), 0).toLong();
|
||||
|
||||
Reference in New Issue
Block a user