1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +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);
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();