[esp8266][api] Store error strings in PROGMEM to reduce RAM usage (#10568)
This commit is contained in:
1 parent
1359142106
commit
3fd469cfe8
6 files changed
+102
-76
No files matched your search
@@ -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);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user