From: Keith Packard Date: Mon, 16 Jul 2012 22:36:20 +0000 (-0700) Subject: altosui: Skip unknown data when parsing ADC for idle monitoring X-Git-Tag: 1.1~77 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;ds=sidebyside;h=eda636c5f309b85282b4142118ee65673d28d137;p=fw%2Faltos altosui: Skip unknown data when parsing ADC for idle monitoring This resolves an infinite loop when talking to megametrum. Signed-off-by: Keith Packard --- 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; }