[ufm01] Fix a format warning when logging the frame sync position (#19944)

This commit is contained in:
J. Nick Koston
2026-09-30 04:59:23 -04:00
committed by GitHub
parent c2d830ebd3
commit 6121bb3bcf
+1 -1
View File
@@ -261,7 +261,7 @@ bool UFM01Component::process_active_stream_() {
}
if ((this->read_index_ == 0 && this->data_[0] != FRAME_START_BYTE_1) ||
(this->read_index_ == 1 && this->data_[1] != FRAME_START_BYTE_2)) {
ESP_LOGD(TAG, "not start of data at %d (is 0x%02X)", this->read_index_, this->data_[this->read_index_]);
ESP_LOGD(TAG, "not start of data at %" PRId32 " (is 0x%02X)", this->read_index_, this->data_[this->read_index_]);
this->read_index_ = 0;
continue;
}