chore: checkpoint current IDF 5.5 remediation state

This commit is contained in:
Sebastien L
2026-02-11 20:23:37 +00:00
parent 73bd096f37
commit 71a9c06fe4
197 changed files with 19719 additions and 1015 deletions

View File

@@ -10,6 +10,7 @@
#include "tools.h"
#include "esp_heap_caps.h"
#include "esp_log.h"
#include "esp_mac.h"
#include "esp_task.h"
#include <ctype.h>
@@ -365,11 +366,11 @@ char* alloc_get_fallback_unique_name() {
#endif
}
#define LOCAL_MAC_SIZE 20
#define FORMATTED_MAC_SIZE 20
char* alloc_get_formatted_mac_string(uint8_t mac[6]) {
char* macStr = malloc_init_external(LOCAL_MAC_SIZE);
char* macStr = malloc_init_external(FORMATTED_MAC_SIZE);
if (macStr) {
snprintf(macStr, LOCAL_MAC_SIZE, MACSTR, MAC2STR(mac));
snprintf(macStr, FORMATTED_MAC_SIZE, MACSTR, MAC2STR(mac));
}
return macStr;
}