Skip to content

Commit

Permalink
Update javascript.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fustyles authored Feb 4, 2022
1 parent 206bb6c commit e66f141
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RobotFly_20220127/blockly/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ Blockly.JavaScript['robotfly_command6'] = function(block) {

Blockly.JavaScript['robotfly_command7'] = function(block) {
var value_val = Blockly.JavaScript.valueToCode(block, 'val_', Blockly.JavaScript.ORDER_ATOMIC);
var code = "robotfly_throttle("+value_val+");\n";
return code;
var code = "robotfly_throttle("+value_val+")";
return [code, Blockly.JavaScript.ORDER_NONE];
};

0 comments on commit e66f141

Please sign in to comment.