micropeak: Keep reading until we get valid data
authorKeith Packard <keithp@keithp.com>
Sat, 8 Feb 2014 06:32:17 +0000 (22:32 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 8 Feb 2014 06:32:17 +0000 (22:32 -0800)
commit8d0d59c51138dc1b1bbf6933354fe9faf4d67986
tree61bbd29b0003c2de8d46e14dabe41fe61565eda7
parent4a5b3837b460d1b6fcea99312728114c4734495a
micropeak: Keep reading until we get valid data

Don't stop just because we saw something invalid on the serial line;
let the user try again, or cancel when they get bored.

However, if the serial line disappears or some other fatal error
occurs, then do stop and put up an error dialog.

Signed-off-by: Keith Packard <keithp@keithp.com>
micropeak/MicroData.java
micropeak/MicroDownload.java