efuse: Reduce the size of esp_efuse_desc_t to 4 bytes

This commit is contained in:
Konstantin Kondrashov 2018-12-14 14:00:59 +08:00 committed by bot
parent 1d7b901aeb
commit c9cd06c886

View file

@ -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;