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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user