fix: correct tare scale request handling in tareScale function

This commit is contained in:
2025-09-02 18:15:13 +02:00
parent d9469eaa42
commit 85cff3923c
2 changed files with 3 additions and 2 deletions

View File

@@ -81,7 +81,9 @@ void onWsEvent(AsyncWebSocket *server, AsyncWebSocketClient *client, AwsEventTyp
else if (doc["type"] == "scale") {
uint8_t success = 0;
if (doc["payload"] == "tare") {
success = tareScale();
scaleTareRequest == true;
success = 1;
//success = tareScale();
}
if (doc["payload"] == "calibrate") {