Skip to content

Commit 8746f44

Browse files
ESP-Mariusespressif-bot
authored andcommitted
fix(efuse): fix efuse examples not compiling on c2
1 parent 13d4235 commit 8746f44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/system/efuse/main/efuse_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
#include "esp_efuse_table.h"
1818
#include "esp_efuse_custom_table.h"
1919

20-
#if CONFIG_SECURE_BOOT
20+
#if CONFIG_SECURE_BOOT || CONFIG_IDF_TARGET_ESP32C2
2121
#include "esp_secure_boot.h"
2222
#endif
2323

24-
#if CONFIG_SECURE_FLASH_ENC_ENABLED
24+
#if CONFIG_SECURE_FLASH_ENC_ENABLED || CONFIG_IDF_TARGET_ESP32C2
2525
#include "esp_flash_encrypt.h"
2626
#endif
2727

0 commit comments

Comments
 (0)