Skip to content

Commit

Permalink
Remove fulfilled TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
hberntsen committed Dec 24, 2024
1 parent d99af0e commit 5e710dc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions esphome/components/MhiAcCtrl/MHI-AC-Ctrl-core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,13 +380,11 @@ static void mhi_poll_task(void *arg)


frame_error = true;
//TODO: store CRC error counter for home assistant?
} else if ( (mosi_frame[CBH] != (rx_checksum>>8 & 0xff)) | (mosi_frame[CBL] != (rx_checksum & 0xff)) ) {
ESP_LOGW(TAG, "packet: %5d wrong MOSI checksum. calculated 0x%04x. MOSI[18]:0x%02x MOSI[19]:0x%02x",
packet_cnt, rx_checksum, mosi_frame[18], mosi_frame[19]);

frame_error = true;
//TODO: store CRC error counter for home assistant?
}

if (frame_error) {
Expand Down

0 comments on commit 5e710dc

Please sign in to comment.