Limit buffer size on ESP8266 to avoid reboots

This commit is contained in:
Gunnar Skjold
2023-11-08 18:40:37 +01:00
parent 445973f9ce
commit f04e15f5d0
2 changed files with 17 additions and 3 deletions

View File

@@ -1249,6 +1249,7 @@ void AmsConfiguration::print(Print* debugger)
debugger->printf_P(PSTR("Baud: %i\r\n"), meter.baud);
debugger->printf_P(PSTR("Parity: %i\r\n"), meter.parity);
debugger->printf_P(PSTR("Invert serial: %s\r\n"), meter.invert ? "Yes" : "No");
debugger->printf_P(PSTR("Buffer size: %i\r\n"), meter.bufferSize * 64);
debugger->printf_P(PSTR("Distribution system: %i\r\n"), meter.distributionSystem);
debugger->printf_P(PSTR("Main fuse: %i\r\n"), meter.mainFuse);
debugger->printf_P(PSTR("Production Capacity: %i\r\n"), meter.productionCapacity);