Skip to content

Commit c39149b

Browse files
committed
Fix build with esp32c2 and upcoming arduino core version
1 parent 1887232 commit c39149b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nimble/esp_port/esp-hci/src/na_hci_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void adv_stack_enableScanReqRxdVsEvent(bool en){}
8484
void conn_stack_enableChanMapUpdCompVsEvent(bool en){}
8585
void sleep_stack_enableWakeupVsEvent(bool en){}
8686

87-
#ifdef SOC_ECC_SUPPORTED
87+
#if SOC_ECC_SUPPORTED && ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 4, 0)
8888
void esp_crypto_ecc_lock_acquire(void) {}
8989
void esp_crypto_ecc_lock_release(void) {}
9090
#endif

0 commit comments

Comments
 (0)