mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
tidy up commands for temperature sensor
This commit is contained in:
@@ -152,12 +152,13 @@ void WebAPIService::parse(AsyncWebServerRequest * request, JsonObject input) {
|
||||
|
||||
#if defined(EMSESP_STANDALONE)
|
||||
Serial.print(COLOR_YELLOW);
|
||||
Serial.print("web response code: ");
|
||||
Serial.println(ret_codes[return_code]);
|
||||
Serial.print("data: ");
|
||||
if (output.size()) {
|
||||
serializeJsonPretty(output, Serial);
|
||||
serializeJson(output, Serial);
|
||||
}
|
||||
Serial.println();
|
||||
Serial.print(" (response code ");
|
||||
Serial.print(ret_codes[return_code]);
|
||||
Serial.println(")");
|
||||
Serial.print(COLOR_RESET);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user