Skip to content

Commit 598bbce

Browse files
authored
back to working "dirty" if check
1 parent ec5a431 commit 598bbce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

platform.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,7 @@ def _configure_espidf_framework(
323323
board_config.get("espidf.custom_sdkconfig", "")
324324
)
325325

326-
if (custom_sdkconfig and custom_sdkconfig.strip()) or \
327-
(board_sdkconfig and board_sdkconfig.strip()):
326+
if custom_sdkconfig is not None or len(str(board_sdkconfig)) > 3:
328327
frameworks.append("espidf")
329328
self.packages["framework-espidf"]["optional"] = False
330329
if mcu == "esp32c2":

0 commit comments

Comments
 (0)