[multiple] Fix -Wformat and -Wextra warnings across 33 component files (#15321)

This commit is contained in:
Jonathan Swoboda authored and GitHub committed 2026-03-30 18:56:05 -04:00
1 parent 58df755d8b
commit 53b2a03c80
33 files changed
+145 -88

No files matched your search

@@ -296,7 +296,7 @@ void IDFUARTComponent::set_rx_timeout(size_t rx_timeout) {
void IDFUARTComponent::write_array(const uint8_t *data, size_t len) {
int32_t write_len = uart_write_bytes(this->uart_num_, data, len);
if (write_len != (int32_t) len) {
ESP_LOGW(TAG, "uart_write_bytes failed: %d != %zu", write_len, len);
ESP_LOGW(TAG, "uart_write_bytes failed: %" PRId32 " != %zu", write_len, len);
this->mark_failed();
}
#ifdef USE_UART_DEBUGGER