From 1d7176dc14430dce5656ed5ffc7079b66962c411 Mon Sep 17 00:00:00 2001
From: Moritz Maxeiner <mm@ucw.sh>
Date: Wed, 11 Nov 2020 14:24:33 +0100
Subject: [PATCH] remove dead code

Nothing except ssid and pass are actually used
---
 firmware/wifi_config.h | 25 +++----------------------
 1 file changed, 3 insertions(+), 22 deletions(-)

diff --git a/firmware/wifi_config.h b/firmware/wifi_config.h
index 884cd3a..a59020a 100644
--- a/firmware/wifi_config.h
+++ b/firmware/wifi_config.h
@@ -1,24 +1,5 @@
-//#include <WiFi.h>
-#include <ESP8266WiFi.h>
-
-// the IP address for the shield:
-// IPAddress ip(192, 168, 178, ROBOT_ID);
-// IPAddress gateway(192, 168, 178, 1);
-// IPAddress subnet(255, 255, 255, 0);
-// IPAddress dns(192, 168, 178, 1);
 
-// Wireless Config
-// char ssid[] = "FRITZ!Box 7490";    // your network SSID (name)
-// char pass[] = "88774779065982215160"; // your network password (use for WPA,
-// or use as key for WEP)
-
-// the IP address for the shield:
-IPAddress ip(192, 168, 0, ROBOT_ID);
-IPAddress gateway(192, 168, 0, 1);
-IPAddress subnet(255, 255, 255, 0);
-IPAddress dns(192, 168, 0, 1);
+#include <ESP8266WiFi.h>
 
-// Wireless Config
-char ssid[] = "RoboFish"; // your network SSID (name)
-char pass[] =
-   "vhr0b0134js"; // your network password (use for WPA, or use as key for WEP)
+char ssid[] = "RoboFish";
+char pass[] = "vhr0b0134js";
-- 
GitLab