Skip to content

Commit a313d12

Browse files
authored
[tools/iar] iar.py fix scons --target=iar --dist (#9997)
#9996
1 parent 5b33206 commit a313d12

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tools/iar.py

-2
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,12 @@ def IARPath():
183183
# backup environ
184184
old_environ = os.environ
185185
os.environ['RTT_CC'] = 'iar'
186-
utils.ReloadModule(rtconfig)
187186

188187
# get iar path
189188
path = rtconfig.EXEC_PATH
190189

191190
# restore environ
192191
os.environ = old_environ
193-
utils.ReloadModule(rtconfig)
194192

195193
return path
196194

0 commit comments

Comments
 (0)