summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Beattie <mike@ethernal.org>2012-03-22 18:46:56 +1300
committerMike Beattie <mike@ethernal.org>2012-03-22 18:46:56 +1300
commit6fd743ff25a8ee32c5868bc6d33a2551473b1fcf (patch)
treee67b7d19d003e6cc30159104a77af029929be48e
parent6fd8e3ccc1c5577835911c66e0838a1f936c8939 (diff)
Remove old config init.
Signed-off-by: Mike Beattie <mike@ethernal.org>
-rw-r--r--HouseControl.ino35
1 files changed, 0 insertions, 35 deletions
diff --git a/HouseControl.ino b/HouseControl.ino
index 704561b..80d428d 100644
--- a/HouseControl.ino
+++ b/HouseControl.ino
@@ -352,41 +352,6 @@ void toggleDoorControl(struct st_door *door) {
void setup() {
byte eepromVersion;
-/*
- config.configVersion = 3;
-
- config.mac[0] = 0x00;
- config.mac[1] = 0xA5;
- config.mac[2] = 0xCB;
- config.mac[3] = 0x28;
- config.mac[4] = 0xF4;
- config.mac[5] = 0xCD;
-
- config.def_ip[0] = config.def_gateway[0] = 10;
- config.def_ip[1] = config.def_gateway[1] = 113;
- config.def_ip[2] = config.def_gateway[2] = 1;
- config.def_ip[3] = 160;
- config.def_gateway[3] = 254;
-
- config.def_netmask[0] = config.def_netmask[1] = config.def_netmask[2] = 255;
- config.def_netmask[3] = 0;
-
- config.notifyHost[0] = 10;
- config.notifyHost[1] = 113;
- config.notifyHost[2] = 1;
- config.notifyHost[3] = 255;
- config.notifyPort = 8888;
-
- config.ntpServer[0] = 10;
- config.ntpServer[1] = 113;
- config.ntpServer[2] = 1;
- config.ntpServer[3] = 1;
- config.UTC_offset = 1300;
-
- config.dawn = 7;
- config.dusk = 21;
-*/
-
eepromRead(0, eepromVersion);
if (config.configVersion > eepromVersion)