Skip to content

Commit

Permalink
Fix espidf serial build
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Dec 4, 2024
1 parent dd70566 commit c3d10c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/system/espidf/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ size_t _z_read_serial(const _z_sys_net_socket_t sock, uint8_t *ptr, size_t len)

uint32_t c_crc = _z_crc32(ptr, payload_len);
if (c_crc != crc) {
_Z_ERROR("CRC mismatch: %d != %d ", c_crc, crc);
_Z_ERROR("CRC mismatch: %ld != %ld ", c_crc, crc);
ret = _Z_ERR_GENERIC;
}
} else {
Expand Down

0 comments on commit c3d10c2

Please sign in to comment.