fl16: Fix conflict of uf2conv

Or maybe intended change? But I don't like it. I want to have it loop to
wait for a new device.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
Daniel Schaefer
2023-07-20 13:55:51 +08:00
parent e1d4878627
commit 1a44117a70

View File

@@ -388,8 +388,8 @@ def main():
if ext == "uf2" and not args.convert and not args.info:
drives = get_drives()
if len(drives) == 0:
error("No drive to deploy.")
if args.wait:
#error("No drive to deploy.")
if args.wait or True:
print("Waiting for drive to deploy...")
while len(drives) == 0:
sleep(0.1)