mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-10 08:25:23 +00:00
[cooja] plugins/VariableViewer: Fix decoding in stringToValue()
This commit is contained in:
@@ -625,11 +625,10 @@ public class VariableWatcher extends VisPlugin implements MotePlugin {
|
||||
try {
|
||||
switch (mType) {
|
||||
case BYTE:
|
||||
ret = Byte.decode(text);
|
||||
break;
|
||||
case INT:
|
||||
case SHORT:
|
||||
ret = Integer.decode(text);
|
||||
break;
|
||||
case INT:
|
||||
case LONG:
|
||||
case ADDR:
|
||||
ret = Long.decode(text);
|
||||
|
Reference in New Issue
Block a user