Change EEPROM begin/end to be sure it is open

Update print_config
This commit is contained in:
luc
2015-10-22 21:38:52 +08:00
parent fa9b87f734
commit b2f8ab93bc
3 changed files with 169 additions and 21 deletions

View File

@@ -62,7 +62,6 @@ void setup() {
// ESP.wdtDisable();
system_update_cpu_freq(SYS_CPU_160MHZ);
delay(8000);
EEPROM.begin(EEPROM_SIZE);
bool breset_config=false;
//check if reset config is requested
pinMode(RESET_CONFIG_PIN, INPUT);