mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 19:40:29 +08:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
e69be076fc
|
@ -206,6 +206,8 @@ def _flash_uf2(file):
|
|||
|
||||
|
||||
def flasher(mcu, file):
|
||||
# Avoid "expected string or bytes-like object, got 'WindowsPath" issues
|
||||
file = file.as_posix()
|
||||
bl, details = _find_bootloader()
|
||||
# Add a small sleep to avoid race conditions
|
||||
time.sleep(1)
|
||||
|
|
Loading…
Reference in a new issue