diff --git a/src/common/core/LibAVR32Module.cpp b/src/common/core/LibAVR32Module.cpp index ff630f6..b836bbb 100644 --- a/src/common/core/LibAVR32Module.cpp +++ b/src/common/core/LibAVR32Module.cpp @@ -1,4 +1,5 @@ #include "LibAVR32Module.hpp" +#include "SerialOscInterface.hpp" #include "base64.h" #include @@ -11,6 +12,10 @@ LibAVR32Module::LibAVR32Module(std::string firmwareName) { gridConnection = nullptr; + // make sure serialosc is fully initialized by the time + // the user needs to interact with it + SerialOscInterface::get(); + dacOffsetVolts = 0.0007; triggerHighThreshold = 2.21; triggerLowThreshold = 0.8;