From eda636c5f309b85282b4142118ee65673d28d137 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 16 Jul 2012 15:36:20 -0700 Subject: [PATCH] altosui: Skip unknown data when parsing ADC for idle monitoring This resolves an infinite loop when talking to megametrum. Signed-off-by: Keith Packard --- altosui/AltosIdleMonitorUI.java | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2