mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-03 12:15:54 +02:00
Revert "fixed size"
This reverts commit 11113da53e
.
brachte nicht die Lösung
This commit is contained in:
parent
1f6fe84f08
commit
a3e5fd93f2
1 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ void app::showLiveData(void) {
|
||||||
#else
|
#else
|
||||||
// dump all data to web frontend
|
// dump all data to web frontend
|
||||||
modHtml = "<pre>";
|
modHtml = "<pre>";
|
||||||
char topic[30], val[12];
|
char topic[30], val[10];
|
||||||
for(uint8_t i = 0; i < iv->listLen; i++) {
|
for(uint8_t i = 0; i < iv->listLen; i++) {
|
||||||
snprintf(topic, 30, "%s/ch%d/%s", iv->name, iv->assign[i].ch, mSys->getFieldName(iv, i));
|
snprintf(topic, 30, "%s/ch%d/%s", iv->name, iv->assign[i].ch, mSys->getFieldName(iv, i));
|
||||||
snprintf(val, 12, "%.3f %s", mSys->getValue(iv, i), mSys->getUnit(iv, i));
|
snprintf(val, 12, "%.3f %s", mSys->getValue(iv, i), mSys->getUnit(iv, i));
|
||||||
|
|
Loading…
Add table
Reference in a new issue