mirror of
https://github.com/esphome/esphome.git
synced 2025-08-05 09:57:47 +00:00
Fix format specifier warnings in QuantileFilter logging
This commit is contained in:
parent
2510b5ffb5
commit
790c9cbb84
@ -118,7 +118,7 @@ optional<float> QuantileFilter::new_value(float value) {
|
||||
size_t queue_size = quantile_queue.size();
|
||||
if (queue_size) {
|
||||
size_t position = ceilf(queue_size * this->quantile_) - 1;
|
||||
ESP_LOGVV(TAG, "QuantileFilter(%p)::position: %d/%d", this, position + 1, queue_size);
|
||||
ESP_LOGVV(TAG, "QuantileFilter(%p)::position: %zu/%zu", this, position + 1, queue_size);
|
||||
result = quantile_queue[position];
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user