Skip to content

Commit

Permalink
🔨 Fix test of env['PROGNAME']
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Nov 5, 2023
1 parent 5ac4eba commit dba613f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildroot/share/scripts/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def _RollbackUpload(FirmwareFile):
marlin_string_config_h_author = _GetMarlinEnv(MarlinEnv, 'STRING_CONFIG_H_AUTHOR')

# Get firmware upload params
upload_firmware_source_name = env['PROGNAME'] + '.bin' if env['PROGNAME'] else str(source[0])
upload_firmware_source_name = env['PROGNAME'] + '.bin' if 'PROGNAME' in env else str(source[0])
# Source firmware filename
upload_speed = env['UPLOAD_SPEED'] if 'UPLOAD_SPEED' in env else 115200
# baud rate of serial connection
Expand Down

0 comments on commit dba613f

Please sign in to comment.