fix(apptrace): calculate crc16 of the current block before swap

This commit is contained in:
Erhan Kurubas
2025-06-11 22:24:28 +02:00
parent 2e7a9174fc
commit 986a55c3d2
4 changed files with 13 additions and 13 deletions
@@ -29,7 +29,7 @@ typedef struct {
typedef struct {
esp_err_t (*swap_start)(uint32_t curr_block_id);
esp_err_t (*swap)(uint32_t new_block_id);
esp_err_t (*swap)(uint32_t new_block_id, uint32_t prev_block_len);
esp_err_t (*swap_end)(uint32_t new_block_id, uint32_t prev_block_len);
bool (*host_data_pending)(void);
} esp_apptrace_membufs_proto_hw_t;