mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
fix compilation
This commit is contained in:
parent
b4aca5a3f3
commit
58c0ca4076
@ -358,11 +358,11 @@ bool loadZigbeeDevices(void) {
|
|||||||
#ifdef USE_ZIGBEE_EEPROM
|
#ifdef USE_ZIGBEE_EEPROM
|
||||||
if (zigbee.eeprom_ready) {
|
if (zigbee.eeprom_ready) {
|
||||||
f.init(ZIGB_NAME4); // try v4 first
|
f.init(ZIGB_NAME4); // try v4 first
|
||||||
if (!f.valid) {
|
if (!f.valid()) {
|
||||||
f.init(ZIGB_NAME2); // else try v2
|
f.init(ZIGB_NAME2); // else try v2
|
||||||
if (f.valid) { file_version = 2; } // v2 found
|
if (f.valid()) { file_version = 2; } // v2 found
|
||||||
}
|
}
|
||||||
if (f.valid) {
|
if (f.valid()) {
|
||||||
storage_class = PSTR("EEPROM");
|
storage_class = PSTR("EEPROM");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user