From dec044d0fa76830970af4bea0a2a951513a040cc Mon Sep 17 00:00:00 2001 From: James Cotton Date: Fri, 10 Aug 2012 02:00:55 -0500 Subject: [PATCH] AndroidGCS bugfix: Missed a break in a case statement. --- androidgcs/src/org/openpilot/uavtalk/UAVObjectField.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/androidgcs/src/org/openpilot/uavtalk/UAVObjectField.java b/androidgcs/src/org/openpilot/uavtalk/UAVObjectField.java index 5fb701b34..d07fdf6fd 100644 --- a/androidgcs/src/org/openpilot/uavtalk/UAVObjectField.java +++ b/androidgcs/src/org/openpilot/uavtalk/UAVObjectField.java @@ -174,9 +174,10 @@ public class UAVObjectField { Integer val = (Integer) getValue(index); dataOut.put(val.byteValue()); } + break; case STRING: // TODO: Implement strings - throw new Error("Strings not yet implemented"); + throw new Error("Strings not yet implemented. Field name: " + getName()); } // Done return getNumBytes();