Fix compile errors on ESP32-C6 with latest ESP-IDF (#6822)

* Use <cinttypes> PRI macros to fix ESP32-C6 compile

* Fix compile error on latest ESP-IDF framework & platform
This commit is contained in:
DAVe3283 authored and GitHub committed 2024-05-28 14:40:34 -05:00
1 parent 497cf8742f
commit db6f6f0cb7
11 files changed
+73 -56

No files matched your search

@@ -69,7 +69,7 @@ void IDFUARTComponent::setup() {
this->mark_failed();
return;
}
this->uart_num_ = next_uart_num++;
this->uart_num_ = static_cast<uart_port_t>(next_uart_num++);
ESP_LOGCONFIG(TAG, "Setting up UART %u...", this->uart_num_);
this->lock_ = xSemaphoreCreateMutex();