mirror of
https://github.com/esphome/esphome.git
synced 2025-08-03 17:07:54 +00:00
Revert "try another way"
This reverts commit 96d39403f497c232c4f8be261737fba2bff08ca0.
This commit is contained in:
parent
b95449615f
commit
2057af8396
@ -121,8 +121,6 @@ def clang_options(idedata):
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
or (directory.startswith(f"{root_path}") and "/.pio/" in directory)
|
or (directory.startswith(f"{root_path}") and "/.pio/" in directory)
|
||||||
or "/.platformio/"
|
|
||||||
in directory # Also treat any .platformio directory as system
|
|
||||||
):
|
):
|
||||||
cmd.extend(["-isystem", directory])
|
cmd.extend(["-isystem", directory])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user