Merge remote-tracking branch 'origin/develop' into xap

This commit is contained in:
QMK Bot 2024-07-17 19:32:21 +00:00
commit 53af1a1282

View File

@ -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)