From 6fd743ff25a8ee32c5868bc6d33a2551473b1fcf Mon Sep 17 00:00:00 2001 From: Mike Beattie Date: Thu, 22 Mar 2012 18:46:56 +1300 Subject: Remove old config init. Signed-off-by: Mike Beattie --- HouseControl.ino | 35 ----------------------------------- 1 file changed, 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) -- cgit v1.2.3