Cleanup nodemcu/statusclient

This commit is contained in:
Ludwig Behm 2023-10-24 01:33:39 +02:00
parent 78e31e52a1
commit 63f9f25b00
Signed by: l.behm
GPG key ID: D344835D63B89384

View file

@ -21,7 +21,7 @@ namespace cpp23 {
}
// defining some constants
enum : int {
enum : uint8_t {
LED_PIN = 16, // D0
READ_PIN = 5 // D1
};
@ -147,8 +147,6 @@ bool send_status(door_state state) {
return false;
}
// ESP.resetFreeContStack();
// uint32_t freeStackStart = ESP.getFreeContStack();
Serial.println("[Send] Connection successful established");
Serial.printf("[Send] Send status: %s\n", status);
client.write(status);