mirror of
https://github.com/esphome/esphome.git
synced 2026-09-30 08:20:21 +00:00
[mqtt] fix compiler warnings when idf_send_async is used (#19815)
This commit is contained in:
@@ -108,7 +108,7 @@ void MQTTBackendESP32::loop() {
|
||||
if ((now - this->last_dropped_log_time_) >= DROP_LOG_INTERVAL_MS) {
|
||||
uint16_t dropped = this->mqtt_queue_.get_and_reset_dropped_count();
|
||||
if (dropped > 0) {
|
||||
ESP_LOGW(TAG, "Dropped %u messages (%us)", dropped, DROP_LOG_INTERVAL_MS / 1000);
|
||||
ESP_LOGW(TAG, "Dropped %u messages (%" PRIu32 "s)", dropped, DROP_LOG_INTERVAL_MS / 1000);
|
||||
}
|
||||
this->last_dropped_log_time_ = now;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user