1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 00:05:43 +00:00

[esp8266][api] Store error strings in PROGMEM to reduce RAM usage (#10568)

This commit is contained in:
J. Nick Koston
2025-09-05 18:16:43 -05:00
committed by GitHub
parent 1359142106
commit 3fd469cfe8
6 changed files with 102 additions and 76 deletions

View File

@@ -732,7 +732,7 @@ class APIConnection final : public APIServerConnection {
}
// Helper function to log API errors with errno
void log_warning_(const char *message, APIError err);
void log_warning_(const LogString *message, APIError err);
// Specific helper for duplicated error message
void log_socket_operation_failed_(APIError err);
};