altosuilib: EEProm download from TeleGPS doesn't have states
authorKeith Packard <keithp@keithp.com>
Sat, 7 Feb 2015 04:36:44 +0000 (20:36 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 7 Feb 2015 04:36:44 +0000 (20:36 -0800)
commit35ad1833b10595564de84c88f44a214b1c134ccf
tree7a98c4e39f624ed589a66d493deda09dfe29190a
parent66e7a8081c07d0d96a31ae34963d430f06dccdfb
altosuilib: EEProm download from TeleGPS doesn't have states

As TeleGPS doesn't have flight states, the EEProm download progress
bar shouldn't show 'state invalid', and it should use a different
scale for each block.

Fix this by having AltosConfigData know which devices have state based
on their log format, then mark the progress bar state limits as
'invalid/invalid' instead of 'boost/landed'. Then have the progress
bar use that to set a more reasonable scale for each block.

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