File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ def create_silent_action(action_func):
182182 ARDUINO_FRMWRK_LIB_DIR_PATH = arduino_lib_dir .resolve ()
183183 ARDUINO_FRMWRK_LIB_DIR = str (ARDUINO_FRMWRK_LIB_DIR_PATH )
184184
185- if mcu == "esp32c2" and not ( "espidf" in pio_orig_frwrk ) :
185+ if mcu == "esp32c2" and "espidf" not in pio_orig_frwrk :
186186 ARDUINO_FRMWRK_C2_LIB_DIR = str (ARDUINO_FRMWRK_LIB_DIR_PATH / chip_variant )
187187 if not os .path .exists (ARDUINO_FRMWRK_C2_LIB_DIR ):
188188 _arduino_c2_dir = platform .get_package_dir ("framework-arduino-c2-skeleton-lib" )
@@ -193,7 +193,7 @@ def create_silent_action(action_func):
193193 ARDUINO_C2_DIR = str (arduino_c2_dir / chip_variant )
194194 shutil .copytree (ARDUINO_C2_DIR , ARDUINO_FRMWRK_C2_LIB_DIR , dirs_exist_ok = True )
195195
196- if mcu == "esp32c61" and not ( "espidf" in pio_orig_frwrk ) :
196+ if mcu == "esp32c61" and "espidf" not in pio_orig_frwrk :
197197 ARDUINO_FRMWRK_C61_LIB_DIR = str (ARDUINO_FRMWRK_LIB_DIR_PATH / chip_variant )
198198 if not os .path .exists (ARDUINO_FRMWRK_C61_LIB_DIR ):
199199 _arduino_c61_dir = platform .get_package_dir ("framework-arduino-c61-skeleton-lib" )
You can’t perform that action at this time.
0 commit comments