1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-11 14:23:47 +01: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

@@ -66,7 +66,7 @@ enum class APIError : uint16_t {
#endif
};
const char *api_error_to_str(APIError err);
const LogString *api_error_to_logstr(APIError err);
class APIFrameHelper {
public: