mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-09 23:16:38 +02:00
* fixed #13, Inverter Type changed after reboot
* fixed #11, WiFi password length limit increased to 63, check 802.11i spec: > A pass-phrase is a sequence of between 8 and 63 ASCII-encoded characters. The limit of 63 comes from the desire to distinguish between a pass-phrase and a PSK displayed as 64 hexadecimal characters.
This commit is contained in:
parent
26f1179666
commit
5c63503168
2 changed files with 3 additions and 3 deletions
|
@ -482,7 +482,7 @@ void app::saveValues(bool webSend = true) {
|
|||
// type
|
||||
mWeb->arg("inv" + String(i) + "Type").toCharArray(buf, 20);
|
||||
uint8_t type = atoi(buf);
|
||||
mEep->write(ADDR_INV_TYPE + (i * MAX_NAME_LENGTH), type);
|
||||
mEep->write(ADDR_INV_TYPE + i, type);
|
||||
}
|
||||
|
||||
interval = mWeb->arg("invInterval").toInt();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue