altosui: Retry device enumeration after rebooting for self flash
authorKeith Packard <keithp@keithp.com>
Sat, 1 Mar 2014 05:16:57 +0000 (21:16 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 1 Mar 2014 05:16:57 +0000 (21:16 -0800)
commita072cbb137126e677d3ebbf0245ec4ea5aa481ad
tree97ef2ce63e6ff304582972d78db2a75f613c35d7
parentac2cfb03158b4902466a72edad5dc471ee6bdb91
altosui: Retry device enumeration after rebooting for self flash

Windows takes 'a while' to include the rebooted device in the list of
available devices, so try a few times with a 100ms delay so that we
can avoid asking the user to select from an empty list.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosFlashUI.java