From 48abb79ed3b8641cb774e06100ad1c82789fffb2 Mon Sep 17 00:00:00 2001 From: me-no-dev Date: Wed, 7 Dec 2016 11:06:31 +0200 Subject: [PATCH] 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 --- cores/esp32/esp32-hal.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cores/esp32/esp32-hal.h b/cores/esp32/esp32-hal.h index 3950bc36..98b65b28 100644 --- a/cores/esp32/esp32-hal.h +++ b/cores/esp32/esp32-hal.h @@ -38,14 +38,6 @@ extern "C" { #define F_CPU (CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ * 1000000U) #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 void vPortYield( void ); #define yield() vPortYield()