Skip to content

Commit 48abb79

Browse files
committed
Remove autostart define overwrite
Fixes issue where switch will not properly trigger if Arduino is used in IDF as component. See espressif#83 (comment) 071
1 parent 13268b9 commit 48abb79

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

‎cores/esp32/esp32-hal.h‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,6 @@ extern "C"{
3838
#defineF_CPU (CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ * 1000000U)
3939
#endif
4040

41-
#ifndefCONFIG_DISABLE_HAL_LOCKS
42-
#defineCONFIG_DISABLE_HAL_LOCKS 0
43-
#endif
44-
45-
#ifndefCONFIG_AUTOSTART_ARDUINO
46-
#defineCONFIG_AUTOSTART_ARDUINO 1
47-
#endif
48-
4941
//forward declaration from freertos/portmacro.h
5042
voidvPortYield( void );
5143
#defineyield() vPortYield()

0 commit comments

Comments
(0)