We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 655b00e commit 52d9040Copy full SHA for 52d9040
generator/generator.py
@@ -128,10 +128,10 @@ def create_upload_data(fqbn, installed_cores): # noqa: C901
128
upload_data["uploader"] = get_uploader_id(tools, tool_executable)
129
130
if "upload.use_1200bps_touch" in board_upload_data:
131
- upload_data["upload.use_1200bps_touch"] = board_upload_data["upload.use_1200bps_touch"]
+ upload_data["upload.use_1200bps_touch"] = bool(board_upload_data["upload.use_1200bps_touch"])
132
133
if "upload.wait_for_upload_port" in board_upload_data:
134
- upload_data["upload.wait_for_upload_port"] = board_upload_data["upload.wait_for_upload_port"]
+ upload_data["upload.wait_for_upload_port"] = bool(board_upload_data["upload.wait_for_upload_port"])
135
136
# Get the command used to upload and modifies it a bit
137
command = (
0 commit comments