Skip to content

Commit c66011e

Browse files
committed
update codes, fix BLINKER AP CONFIG V2 EEPROM codes.
1 parent 9b043fe commit c66011e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Adapters/BlinkerMQTT.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3041,7 +3041,7 @@ bool BlinkerMQTT::autoInit()
30413041
char _auth[BLINKER_AUTHKEY_SIZE];
30423042

30433043
EEPROM.begin(BLINKER_EEP_SIZE);
3044-
EEPROM.get(1280, _auth);
3044+
EEPROM.get(2448, _auth);
30453045
EEPROM.commit();
30463046
EEPROM.end();
30473047

@@ -3356,7 +3356,7 @@ bool BlinkerMQTT::parseUrl(String data)
33563356
begin(_auth.c_str());
33573357

33583358
EEPROM.begin(BLINKER_EEP_SIZE);
3359-
EEPROM.put(1280, _auth.c_str());
3359+
EEPROM.put(2448, _authKey);
33603360
EEPROM.commit();
33613361
EEPROM.end();
33623362
}

0 commit comments

Comments
 (0)