Fix detection of hid bootloader flashing tool (#25790)

This commit is contained in:
Joel Challis 2025-11-17 02:06:59 +00:00 committed by GitHub
parent ed343ddad4
commit bb2ca21647
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -153,6 +153,7 @@ def _flash_atmel_dfu(mcu, file):
def _flash_hid_bootloader(mcu, details, file):
cmd = None
if details == 'halfkay':
if shutil.which('teensy-loader-cli'):
cmd = 'teensy-loader-cli'