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

Diff for: cores/esp32/esp32-hal.h

-8
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)