mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-30 00:07:03 +02:00
* reduced heap size (>50%) by using 'F()' for (nearly) all static strings (mentioned by @stefan123t)
This commit is contained in:
parent
01f1fab27f
commit
69f8f0b806
6 changed files with 159 additions and 179 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue