Skip to content

Commit d0c3507

Browse files
committed
clean up comments
1 parent 7a10d6d commit d0c3507

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build_platform.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
sys.argv.pop(sys.argv.index("--build_timeout") + 1)
3030
sys.argv.remove("--build_timeout")
3131

32-
# optional --boards-local-txt option to copy boards.local.txt
33-
# to the appropriate package folder after installing the platform
32+
# optional --boards-local-txt argument to copy boards.local.txt
33+
# to the appropriate folder after installing the platform BSP.
3434
COPY_BOARDS_LOCAL_TXT = False
3535
boards_local_txt = None
3636
if "--boards-local-txt" in sys.argv:
@@ -473,10 +473,10 @@ def main():
473473
fqbn = ALL_PLATFORMS[platform][0]
474474
print('#'*80)
475475
ColorPrint.print_info("SWITCHING TO "+fqbn)
476-
core_fqbn = ":".join(fqbn.split(':', 2)[0:2])
477-
install_platform(core_fqbn, ALL_PLATFORMS[platform]) # take only first two elements
476+
core_fqbn = ":".join(fqbn.split(':', 2)[0:2]) # take only first two elements
477+
install_platform(core_fqbn, ALL_PLATFORMS[platform])
478478

479-
# Inject boards.local.txt if enabled
479+
# Inject boards.local.txt if requested
480480
if COPY_BOARDS_LOCAL_TXT and boards_local_txt:
481481
try:
482482
# Find platform path via `arduino-cli core list --format json`

0 commit comments

Comments
 (0)