Skip to content

Commit

Permalink
Improve spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Mar 14, 2023
1 parent f66f751 commit 70b44f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/seplos_modbus/seplos_modbus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ bool SeplosModbus::parse_seplos_modbus_byte_(uint8_t byte) {
uint16_t remote_crc = uint16_t(ascii_hex_to_byte(raw[at - 4], raw[at - 3])) << 8 |
(uint16_t(ascii_hex_to_byte(raw[at - 2], raw[at - 1])) << 0);
if (computed_crc != remote_crc) {
ESP_LOGW(TAG, "CRC Check failed! 0x%04X != 0x%04X", computed_crc, remote_crc);
ESP_LOGW(TAG, "CRC check failed! 0x%04X != 0x%04X", computed_crc, remote_crc);
return false;
}

Expand Down

0 comments on commit 70b44f7

Please sign in to comment.