From c9cd06c886839176d06fb113c183a1a83c8e4461 Mon Sep 17 00:00:00 2001 From: Konstantin Kondrashov Date: Fri, 14 Dec 2018 14:00:59 +0800 Subject: [PATCH] efuse: Reduce the size of esp_efuse_desc_t to 4 bytes --- components/efuse/include/esp_efuse.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/efuse/include/esp_efuse.h b/components/efuse/include/esp_efuse.h index 7c6b370023..84fd63e53f 100644 --- a/components/efuse/include/esp_efuse.h +++ b/components/efuse/include/esp_efuse.h @@ -52,8 +52,8 @@ typedef enum { * @brief Structure eFuse field */ typedef struct { - esp_efuse_block_t efuse_block; /**< Block of eFuse */ - uint16_t bit_start; /**< Start bit [0..255] */ + esp_efuse_block_t efuse_block: 8; /**< Block of eFuse */ + uint8_t bit_start; /**< Start bit [0..255] */ uint16_t bit_count; /**< Length of bit field [1..-]*/ } esp_efuse_desc_t;