提交 48abb79e 编写于 作者: M me-no-dev

Remove autostart define overwrite

Fixes issue where switch will not properly trigger if Arduino is used
in IDF as component.
See
https://github.com/espressif/arduino-esp32/issues/83#issuecomment-265326
071
上级 13268b9d
...@@ -38,14 +38,6 @@ extern "C" { ...@@ -38,14 +38,6 @@ extern "C" {
#define F_CPU (CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ * 1000000U) #define F_CPU (CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ * 1000000U)
#endif #endif
#ifndef CONFIG_DISABLE_HAL_LOCKS
#define CONFIG_DISABLE_HAL_LOCKS 0
#endif
#ifndef CONFIG_AUTOSTART_ARDUINO
#define CONFIG_AUTOSTART_ARDUINO 1
#endif
//forward declaration from freertos/portmacro.h //forward declaration from freertos/portmacro.h
void vPortYield( void ); void vPortYield( void );
#define yield() vPortYield() #define yield() vPortYield()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册