Browse Source

Fix detection of hid bootloader flashing tool (#25790)

Joel Challis 9 months ago
parent
commit
bb2ca21647
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/python/qmk/flashers.py

+ 1 - 0
lib/python/qmk/flashers.py

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