Commit 2008efef authored by PhiBo's avatar PhiBo 🚀

Fix bug reading eeprom data

parent a8c63d07
......@@ -17,7 +17,7 @@ uint8_t readEEPROM_string(uint16_t eeprom_addr, char *data, uint8_t max_len)
for(i = 0; i < len; i++) {
data[i] = EEPROM.read(eeprom_addr);
eeprom_addr;
eeprom_addr++;
}
if(len < max_len) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment