improv: first two commands are working (state and device info)

This commit is contained in:
lumapu 2023-04-07 01:16:29 +02:00
parent 62c9cb7529
commit ba3f84d684
3 changed files with 28 additions and 23 deletions

View file

@ -98,6 +98,7 @@ void app::setup() {
//-----------------------------------------------------------------------------
void app::loop(void) {
mInnerLoopCb();
mImprov.tickSerial();
}
//-----------------------------------------------------------------------------
@ -173,7 +174,7 @@ void app::regularTickers(void) {
if (mConfig->plugin.display.type != 0)
everySec(std::bind(&DisplayType::tickerSecond, &mDisplay), "disp");
every(std::bind(&PubSerialType::tick, &mPubSerial), mConfig->serial.interval, "uart");
everySec(std::bind(&Improv::tickSerial, &mImprov), "impro");
//everySec(std::bind(&Improv::tickSerial, &mImprov), "impro");
}
//-----------------------------------------------------------------------------