Skip to content

Commit d589b25

Browse files
committed
fixes loading sdkconfig
1 parent 7860850 commit d589b25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builder/esp32.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,8 @@ def build_sdkconfig(*args):
12071207
if not os.path.exists(display_path):
12081208
continue
12091209

1210-
base_config.extend(read_file(display_path).split('\n'))
1210+
with open(display_path, 'r') as f:
1211+
base_config.extend(f.read().split('\n'))
12111212

12121213
with open(SDKCONFIG_PATH, 'w') as f:
12131214
f.write('\n'.join(base_config))

0 commit comments

Comments
 (0)