altosuilib: Don't match product_altusmetrum for product_basestation or product_altimeter
authorKeith Packard <keithp@keithp.com>
Mon, 9 Dec 2013 03:59:37 +0000 (19:59 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 9 Dec 2013 03:59:37 +0000 (19:59 -0800)
commit1183417145de549b9281f9e210d216facf3a94ef
tree7fff2e519db3edf42d0ca920717ea08654c1d4a8
parente0af4569446b12c026aa0ffd52c55839d69af0e1
altosuilib: Don't match product_altusmetrum for product_basestation or product_altimeter

It's been years since we've shipped boards configured with
product_altusmetrum, but now we've repurposed that code for the flash
loader. When matching an explicit product, go ahead and also match
altusmetrum so that the flash loader will fit, but when matching
basestation or altimeter, don't as that will avoid popping up the
flight monitor UI at startup when a board is running the boot loader.

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