altosuilib: Get the Eeprom download progress bar working again
authorKeith Packard <keithp@keithp.com>
Sun, 8 Feb 2015 04:22:19 +0000 (20:22 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 8 Feb 2015 04:22:19 +0000 (20:22 -0800)
commit426bacbbd6e0573b143e7c48d71db977e53181fc
tree57684750cac52d4b3fe4e24921a383a7a9f5e7a8
parentaea188e4227993c508c7045d02f2bc87abd4e428
altosuilib: Get the Eeprom download progress bar working again

The eeprom download code wasn't computing the start of each state
transition correctly, so the progress bar was snapping to the end of
the chunk for each state.

Invalid state values would snap the bar to the right side.

Landed state wasn't ever seen, so the bar would not ever fill.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosEepromDownload.java
altosuilib/AltosEepromMonitorUI.java