Browse Source

Merge pull request #17 from lumapu/main

Fixed system chrashes
pull/18/head
grindylow 3 years ago
committed by GitHub
parent
commit
5bd2e65289
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      tools/esp8266/app.cpp
  2. 2
      tools/esp8266/defines.h

4
tools/esp8266/app.cpp

@ -164,7 +164,7 @@ void app::loop(void) {
if(NULL != inv) {
mSys->Radio.sendTimePacket(inv->radioId.u64, mTimestamp);
yield();
delay(100);
//delay(100);
}
}
}
@ -184,7 +184,7 @@ void app::loop(void) {
snprintf(topic, 30, "%s/ch%d/%s", iv->name, iv->assign[i].ch, fields[iv->assign[i].fieldId]);
snprintf(val, 10, "%.3f", mSys->getValue(iv, i));
mMqtt.sendMsg(topic, val);
delay(20);
//delay(20);
yield();
}
}

2
tools/esp8266/defines.h

@ -25,7 +25,7 @@
//-------------------------------------
#define VERSION_MAJOR 0
#define VERSION_MINOR 2
#define VERSION_PATCH 10
#define VERSION_PATCH 11
//-------------------------------------

Loading…
Cancel
Save