Revert "fixed size"

This reverts commit 11113da53e.

brachte nicht die Lösung
This commit is contained in:
Marcus 2022-04-27 17:39:56 +02:00
parent 1f6fe84f08
commit a3e5fd93f2

View file

@ -430,7 +430,7 @@ void app::showLiveData(void) {
#else
// dump all data to web frontend
modHtml = "<pre>";
char topic[30], val[12];
char topic[30], val[10];
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(val, 12, "%.3f %s", mSys->getValue(iv, i), mSys->getUnit(iv, i));