1
0
mirror of https://github.com/daniviga/bite.git synced 2024-11-23 05:16:13 +01:00

Fix eeprom_prog.ino indent

This commit is contained in:
Daniele Viganò 2020-06-17 20:13:02 +02:00
parent 09cf23554a
commit 648608525d
Signed by: dani
GPG Key ID: DB49AFC03C40EE02

View File

@ -4,7 +4,8 @@
#define ERASE_FIRST 0 #define ERASE_FIRST 0
const byte mac[] = { const byte mac[] = {
0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED
};
const char serial[] = "abcd1234"; const char serial[] = "abcd1234";
struct netConfig { struct netConfig {
@ -38,7 +39,6 @@ void setup() {
int eeAddress = 0; //Location we want the data to be put. int eeAddress = 0; //Location we want the data to be put.
//One simple call, with the address first and the object second.
EEPROM.put(eeAddress, mac); EEPROM.put(eeAddress, mac);
eeAddress += sizeof(mac); eeAddress += sizeof(mac);
EEPROM.put(eeAddress, serial); EEPROM.put(eeAddress, serial);