migrate to PIP v4

This commit is contained in:
2024-07-30 14:18:39 +03:00
parent 472591fbf8
commit 4f006072e8
3 changed files with 9 additions and 7 deletions

View File

@@ -5,6 +5,7 @@
#include "cdutils_m.h"
#include "cdutils_x.h"
#include "k_description.h"
#include "piliterals_time.h"
#include "pip.h"
using namespace CDUtils;
@@ -68,7 +69,7 @@ public:
}
EVENT_HANDLER(void, xrecv) {
piCout << "received x";
if (!timer.isRunning()) timer.start(10);
if (!timer.isRunning()) timer.start(100_Hz);
X.start();
}
EVENT_HANDLER(void, timerDone) { test(); }