BugFix v _storeString (zapis za povolenou oblast)
This commit is contained in:
parent
f5fce8dee3
commit
33f8f6a8b8
@ -746,7 +746,7 @@ bool WiFiConfig::_storeString(unsigned int start, size_t maxlen, String &string)
|
|||||||
|
|
||||||
WiFi.softAPmacAddress(mac);
|
WiFi.softAPmacAddress(mac);
|
||||||
EEPROM.write(start, (uint8_t)top); // ulozime delku retezce (pouzite pr kontrolu pri vycitani)
|
EEPROM.write(start, (uint8_t)top); // ulozime delku retezce (pouzite pr kontrolu pri vycitani)
|
||||||
for (i = start + 1; i < start + maxlen + 1; ++i)
|
for (i = start + 1; i < start + top + 1; ++i)
|
||||||
{
|
{
|
||||||
c = string[si];
|
c = string[si];
|
||||||
c ^= mac[enciphidx];
|
c ^= mac[enciphidx];
|
||||||
|
Loading…
Reference in New Issue
Block a user