altosui: Accept serial number of zero for eeprom download
authorKeith Packard <keithp@keithp.com>
Wed, 17 Oct 2012 04:54:23 +0000 (21:54 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 17 Oct 2012 04:54:23 +0000 (21:54 -0700)
commit440365bd17d804c2f574c35164612cf1682397d7
tree3f40e605dc2a5c2a2538443b8ef5a47b7a7057e6
parent4d6d90e15db30991bf81060a0876ae8adb843c75
altosui: Accept serial number of zero for eeprom download

AVR-based products don't have a valid serial number, and so usually
report 0. Accept this by making the 'no serial number' case check for
negative values.

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