Skip to content

Commit

Permalink
Removed serial printout
Browse files Browse the repository at this point in the history
  • Loading branch information
bombcheck committed Mar 6, 2018
1 parent 112e0a3 commit d4ea442
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions espArtLeDNode/espArtLeDNode.ino
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ extern "C" {
extern struct rst_info resetInfo;
}

#define FIRMWARE_VERSION "v1.0.3-dev13"
#define FIRMWARE_VERSION "v1.0.3-dev14"
#define ART_FIRM_VERSION 0x0200 // Firmware given over Artnet (2 bytes)


Expand Down Expand Up @@ -137,8 +137,8 @@ byte* dataIn;
void setup(void) {
//pinMode(4, OUTPUT);
//digitalWrite(4, LOW);
Serial.begin(74880); // to match bootloader baudrate
Serial.setDebugOutput(true);
//Serial.begin(74880); // to match bootloader baudrate
//Serial.setDebugOutput(true);
ESP.wdtEnable(WDTO_8S); //enable SW WDT with 8s timeout

// Make direction input to avoid boot garbage being sent out
Expand Down
12 changes: 6 additions & 6 deletions espArtLeDNode/store.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ struct StoreStruct {
void eepromSave() {
for (uint16_t t = 0; t < sizeof(deviceSettings); t++)
EEPROM.write(CONFIG_START + t, *((char*)&deviceSettings + t));
Serial.println("save");
Serial.println(deviceSettings.wifiSSID);
Serial.println(deviceSettings.wifiPass);
//Serial.println("save");
//Serial.println(deviceSettings.wifiSSID);
//Serial.println(deviceSettings.wifiPass);

EEPROM.commit();
}
Expand All @@ -102,9 +102,9 @@ void eepromLoad() {
for (uint16_t t = 0; t < sizeof(deviceSettings); t++)
*((char*)&deviceSettings + t) = EEPROM.read(CONFIG_START + t);

Serial.println("load+");
Serial.println(deviceSettings.wifiSSID);
Serial.println(deviceSettings.wifiPass);
//Serial.println("load+");
//Serial.println(deviceSettings.wifiSSID);
//Serial.println(deviceSettings.wifiPass);

// If we want to restore all our settings
/*
Expand Down

0 comments on commit d4ea442

Please sign in to comment.