From c3d10c209b29640e856fdbe01762be7ac5b780fe Mon Sep 17 00:00:00 2001 From: Alexander Bushnev Date: Wed, 4 Dec 2024 19:37:17 +0100 Subject: [PATCH] Fix espidf serial build --- src/system/espidf/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/espidf/network.c b/src/system/espidf/network.c index bc91f50c3..ca3b58c18 100644 --- a/src/system/espidf/network.c +++ b/src/system/espidf/network.c @@ -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 {