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
This commit is contained in:
parent
13268b9d3c
commit
48abb79ed3
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user