From 507b5fd2b6efaa774513d07163c5b64788ea4697 Mon Sep 17 00:00:00 2001 From: "harshal.patil" Date: Tue, 7 Nov 2023 10:10:29 +0530 Subject: [PATCH] fix(soc/sha_struct): fix register name continue to conti - As contnue being a reserved keyword in C, the register name continue is not valid --- components/soc/esp32p4/include/soc/sha_struct.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/soc/esp32p4/include/soc/sha_struct.h b/components/soc/esp32p4/include/soc/sha_struct.h index 016cb8844c..8b52abcbc7 100644 --- a/components/soc/esp32p4/include/soc/sha_struct.h +++ b/components/soc/esp32p4/include/soc/sha_struct.h @@ -89,7 +89,7 @@ typedef union { /** continue : RO; bitpos: [31:1]; default: 0; * Reserved. */ - uint32_t continue:31; + uint32_t conti:31; }; uint32_t val; } sha_continue_reg_t; @@ -193,7 +193,7 @@ typedef struct { volatile sha_t_length_reg_t t_length; volatile sha_dma_block_num_reg_t dma_block_num; volatile sha_start_reg_t start; - volatile sha_continue_reg_t continue; + volatile sha_continue_reg_t conti; volatile sha_busy_reg_t busy; volatile sha_dma_start_reg_t dma_start; volatile sha_dma_continue_reg_t dma_continue;