fix(firmware): use %u cast for uint32_t in ESP_LOGI to fix -Wformat build error
This commit is contained in:
parent
5bd56ce6f2
commit
460dac8f4d
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue