Browse Source
Merge pull request #17 from lumapu/main
Fixed system chrashes
pull/18/head
grindylow
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
3 deletions
-
tools/esp8266/app.cpp
-
tools/esp8266/defines.h
|
|
@ -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(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
@ -25,7 +25,7 @@ |
|
|
|
//-------------------------------------
|
|
|
|
#define VERSION_MAJOR 0 |
|
|
|
#define VERSION_MINOR 2 |
|
|
|
#define VERSION_PATCH 10 |
|
|
|
#define VERSION_PATCH 11 |
|
|
|
|
|
|
|
|
|
|
|
//-------------------------------------
|
|
|
|