1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-11 01:54:14 +01:00

AndroidGCS bugfix: Missed a break in a case statement.

This commit is contained in:
James Cotton 2012-08-10 02:00:55 -05:00
parent 5eabb1777d
commit 92209f8e42

View File

@ -174,9 +174,10 @@ public class UAVObjectField {
Integer val = (Integer) getValue(index); Integer val = (Integer) getValue(index);
dataOut.put(val.byteValue()); dataOut.put(val.byteValue());
} }
break;
case STRING: case STRING:
// TODO: Implement strings // TODO: Implement strings
throw new Error("Strings not yet implemented"); throw new Error("Strings not yet implemented. Field name: " + getName());
} }
// Done // Done
return getNumBytes(); return getNumBytes();