diff options
author | Keith Packard <keithp@keithp.com> | 2012-07-16 15:36:20 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-07-16 15:36:20 -0700 |
commit | eda636c5f309b85282b4142118ee65673d28d137 (patch) | |
tree | daeff5e9dadcc72097f6d8fd3a83f6e0c4f84396 /altosui/AltosIdleMonitorUI.java | |
parent | 52196975c447851f14619213c1de5101d334eebc (diff) |
altosui: Skip unknown data when parsing ADC for idle monitoring
This resolves an infinite loop when talking to megametrum.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosIdleMonitorUI.java')
-rw-r--r-- | altosui/AltosIdleMonitorUI.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/altosui/AltosIdleMonitorUI.java b/altosui/AltosIdleMonitorUI.java index eb6ec5e7..ce608d2b 100644 --- a/altosui/AltosIdleMonitorUI.java +++ b/altosui/AltosIdleMonitorUI.java @@ -84,6 +84,7 @@ class AltosADC { i += 2; continue; } + i++; } break; } |