Skip to content

Commit 8e24827

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/arduino-esp32#83 (comment) 071
1 parent 64c736f commit 8e24827

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
#define F_CPU (CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ * 1000000U)
3939
#endif
4040

41-
#ifndef CONFIG_DISABLE_HAL_LOCKS
42-
#define CONFIG_DISABLE_HAL_LOCKS 0
43-
#endif
44-
45-
#ifndef CONFIG_AUTOSTART_ARDUINO
46-
#define CONFIG_AUTOSTART_ARDUINO 1
47-
#endif
48-
4941
//forward declaration from freertos/portmacro.h
5042
void vPortYield( void );
5143
#define yield() vPortYield()

0 commit comments

Comments
 (0)