Skip to content

Commit e37e1e0

Browse files
committed
Add default safe empty value for the debug_speed options
1 parent 4863d89 commit e37e1e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def __configure_upload_port(env):
305305
]
306306
openocd_args.extend(
307307
debug_tools.get(upload_protocol).get("server").get("arguments", []))
308-
if env.GetProjectOption("debug_speed"):
308+
if env.GetProjectOption("debug_speed", ""):
309309
openocd_args.extend(
310310
["-c", "adapter speed %s" % env.GetProjectOption("debug_speed")]
311311
)

0 commit comments

Comments
 (0)