update output
This commit is contained in:
parent
e685724a1f
commit
0f0bd2aea4
@ -611,11 +611,8 @@ Blockly.Blocks["sensebox_gps_bn880"] = {
|
|||||||
selectedBoard().serialSensors),
|
selectedBoard().serialSensors),
|
||||||
"serial"
|
"serial"
|
||||||
);
|
);
|
||||||
if (this.getFieldValue("dropdown") == "timestamp") {
|
|
||||||
this.setOutput(true, Types.CHARACTER.typeName);
|
this.setOutput(true);
|
||||||
} else {
|
|
||||||
this.setOutput(true, Types.NUMBER.typeName);
|
|
||||||
}
|
|
||||||
this.setColour(getColour().sensebox);
|
this.setColour(getColour().sensebox);
|
||||||
this.setTooltip(Blockly.Msg.senseBox_gps_tooltip);
|
this.setTooltip(Blockly.Msg.senseBox_gps_tooltip);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user