* reduced heap size (>50%) by using 'F()' for (nearly) all static strings (mentioned by @stefan123t)

This commit is contained in:
lumapu 2022-05-24 21:52:27 +02:00
parent 01f1fab27f
commit 69f8f0b806
6 changed files with 159 additions and 179 deletions

View file

@ -61,7 +61,7 @@ class Main {
end = addr + 64;
if(end > (ADDR_SETTINGS_CRC + 2))
end = (ADDR_SETTINGS_CRC + 2);
DPRINTLN("erase: 0x" + String(addr, HEX) + " - 0x" + String(end, HEX));
DPRINTLN(F("erase: 0x") + String(addr, HEX) + " - 0x" + String(end, HEX));
mEep->write(addr, buf, (end-addr));
addr = end;
} while(addr < (ADDR_SETTINGS_CRC + 2));