1
0
mirror of https://github.com/esphome/esphome.git synced 2026-02-08 08:41:59 +00:00
This commit is contained in:
J. Nick Koston
2025-12-31 21:37:05 -10:00
parent eddb386277
commit df4ce52deb

View File

@@ -210,9 +210,7 @@ void MR60FDA2Component::split_frame_(uint8_t buffer) {
char byte_buf[format_hex_pretty_size(1)];
#endif
ESP_LOGV(TAG, "CURRENT_FRAME: %s %s",
format_hex_pretty_to(frame_buf, this->current_frame_buf_,
this->current_frame_len_ < MR60FDA2_MAX_LOG_BYTES ? this->current_frame_len_
: MR60FDA2_MAX_LOG_BYTES),
format_hex_pretty_to(frame_buf, this->current_frame_buf_, this->current_frame_len_),
format_hex_pretty_to(byte_buf, &buffer, 1));
this->current_frame_locate_ = LOCATE_FRAME_HEADER;
}
@@ -242,9 +240,7 @@ void MR60FDA2Component::split_frame_(uint8_t buffer) {
char byte_buf[format_hex_pretty_size(1)];
#endif
ESP_LOGV(TAG, "GET CURRENT_FRAME: %s %s",
format_hex_pretty_to(frame_buf, this->current_frame_buf_,
this->current_frame_len_ < MR60FDA2_MAX_LOG_BYTES ? this->current_frame_len_
: MR60FDA2_MAX_LOG_BYTES),
format_hex_pretty_to(frame_buf, this->current_frame_buf_, this->current_frame_len_),
format_hex_pretty_to(byte_buf, &buffer, 1));
this->current_frame_locate_ = LOCATE_FRAME_HEADER;