mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-24 22:36:10 +02:00
basic implementation of improv
This commit is contained in:
parent
b9149a48dd
commit
bfae0e0def
3 changed files with 6 additions and 15 deletions
|
@ -82,6 +82,8 @@ void app::setup() {
|
|||
|
||||
mPubSerial.setup(mConfig, &mSys, &mTimestamp);
|
||||
|
||||
mImprov.setup(mConfig->sys.deviceName, mVersion);
|
||||
|
||||
regularTickers();
|
||||
|
||||
|
||||
|
@ -169,6 +171,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");
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue