fix(firmware): use %u cast for uint32_t in ESP_LOGI to fix -Wformat build error

This commit is contained in:
jedarden 2026-04-17 00:31:09 -04:00
parent 5bd56ce6f2
commit 460dac8f4d

View file

@ -49,7 +49,7 @@ void provision_listen_window(void) {
snprintf(ready_msg, sizeof(ready_msg), "SPAXEL READY %s\n", mac_str);
uart_write_bytes(PROVISION_UART, ready_msg, strlen(ready_msg));
ESP_LOGI(TAG, "Provisioning window open for %d ms (MAC: %s)", window_ms, mac_str);
ESP_LOGI(TAG, "Provisioning window open for %u ms (MAC: %s)", (unsigned)window_ms, mac_str);
TickType_t deadline = xTaskGetTickCount() + pdMS_TO_TICKS(window_ms);
char line[MAX_LINE_LEN];