example 'meshtastic': fix missing reboot bug (macOS, Windows)

This commit is contained in:
pls.153 2024-05-28 12:38:38 +02:00
parent 24eff937b8
commit 0168a220db
10 changed files with 73 additions and 38 deletions

View file

@ -77,6 +77,15 @@ QT::QT() : QObject() {
ecl_fun("lora:set-ready", vArg);
});
#ifdef Q_OS_ANDROID
QObject::connect(con, &QtAndroidServiceReplica::sendingDone,
#else
QObject::connect(con, &Connection::sendingDone,
#endif
[]() {
ecl_fun("lora:send-enqueued");
});
#ifdef Q_OS_ANDROID
QObject::connect(con, &QtAndroidServiceReplica::receivedFromRadio,
#else