summaryrefslogtreecommitdiff
path: root/altosui/AltosEepromDownload.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-04-08 10:13:55 -0700
committerKeith Packard <keithp@keithp.com>2011-04-08 10:13:55 -0700
commit8dd455204cf8712fa8c142b0c0517cec1bf5fd0f (patch)
treeb265bec35628bdcec11fe827dac3ed935a8d6e31 /altosui/AltosEepromDownload.java
parentbf1c7df5301a1727e871a8447f835fe75bdce3fc (diff)
altosui: Add low-level Bluetooth APIs
Adds the JNI functions to query and connect to arbitrary bluetooth devices. Adds Java wrappers to construct a list of proximate bluetooth devices. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosEepromDownload.java')
-rw-r--r--altosui/AltosEepromDownload.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/altosui/AltosEepromDownload.java b/altosui/AltosEepromDownload.java
index fad16460..5c704968 100644
--- a/altosui/AltosEepromDownload.java
+++ b/altosui/AltosEepromDownload.java
@@ -158,6 +158,7 @@ public class AltosEepromDownload implements Runnable {
r = new AltosEepromRecord(Altos.AO_LOG_STATE, tiny_tick, s, 0);
if (s == Altos.ao_flight_landed)
done = true;
+ state = s;
any_valid = true;
} else {
if (v != 0xffff)