mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-24 14:26:11 +02:00
improv: first two commands are working (state and device info)
This commit is contained in:
parent
62c9cb7529
commit
ba3f84d684
3 changed files with 28 additions and 23 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue