minimal changes
This commit is contained in:
parent
4a7324888b
commit
1867605b1e
|
@ -29,14 +29,6 @@ void setup() {
|
||||||
ser.begin(9600);
|
ser.begin(9600);
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
wifi_station_set_hostname("NudelMaschine");
|
wifi_station_set_hostname("NudelMaschine");
|
||||||
// while (WiFi.status() != WL_CONNECTED) {
|
|
||||||
// delay(500);
|
|
||||||
// Serial.print(".");
|
|
||||||
// }
|
|
||||||
// D("IP address: ");
|
|
||||||
// D(WiFi.localIP());
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void reportStatus() {
|
void reportStatus() {
|
||||||
|
|
|
@ -83,7 +83,6 @@ void handleWLAN() {
|
||||||
char first = wlan.read();
|
char first = wlan.read();
|
||||||
if(first == 's') {
|
if(first == 's') {
|
||||||
//status update
|
//status update
|
||||||
|
|
||||||
for(unsigned char i = 0; i < 20; i++) {
|
for(unsigned char i = 0; i < 20; i++) {
|
||||||
status[i] = wlan.available() ? wlan.read() : ' ';
|
status[i] = wlan.available() ? wlan.read() : ' ';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue