Cleanup nodemcu/statusclient
This commit is contained in:
parent
78e31e52a1
commit
63f9f25b00
1 changed files with 1 additions and 3 deletions
|
@ -21,7 +21,7 @@ namespace cpp23 {
|
||||||
}
|
}
|
||||||
|
|
||||||
// defining some constants
|
// defining some constants
|
||||||
enum : int {
|
enum : uint8_t {
|
||||||
LED_PIN = 16, // D0
|
LED_PIN = 16, // D0
|
||||||
READ_PIN = 5 // D1
|
READ_PIN = 5 // D1
|
||||||
};
|
};
|
||||||
|
@ -147,8 +147,6 @@ bool send_status(door_state state) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ESP.resetFreeContStack();
|
|
||||||
// uint32_t freeStackStart = ESP.getFreeContStack();
|
|
||||||
Serial.println("[Send] Connection successful established");
|
Serial.println("[Send] Connection successful established");
|
||||||
Serial.printf("[Send] Send status: %s\n", status);
|
Serial.printf("[Send] Send status: %s\n", status);
|
||||||
client.write(status);
|
client.write(status);
|
||||||
|
|
Loading…
Reference in a new issue