Browse Source

modified: lars_blocks.js

pull/1/head
roboticafacil 1 year ago
parent
commit
89f1d579b3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lars_blocks.js

+ 1
- 1
lars_blocks.js View File

@@ -36,7 +36,7 @@ Blockly.Arduino['LARS_init'] = function(block) {
36 36
 			  var input_FLL = Blockly.Arduino.valueToCode(this,'FLL',Blockly.Arduino.ORDER_ATOMIC) || '5';
37 37
 			  var input_BRL = Blockly.Arduino.valueToCode(this,'BRL',Blockly.Arduino.ORDER_ATOMIC) || '23';
38 38
 			  var input_BLL = Blockly.Arduino.valueToCode(this,'BLL',Blockly.Arduino.ORDER_ATOMIC) || '13';
39
-			  Blockly.Arduino.definitions_['define_simpleexpressions_h'] = '#include <LARS.h>';
39
+			  Blockly.Arduino.definitions_['define_lars_h'] = '#include <LARS.h>';
40 40
 			  Blockly.Arduino.definitions_['declare_var_define_lars']='LARS lars;\n';
41 41
 			  Blockly.Arduino.setups_['setup_lars_init'] = 'lars.init('+input_FRH+','+input_FLH+','+input_BRH+','+input_BLH+','+input_FRL+','+input_FLL+','+input_BRL+','+input_BLL+');\n';
42 42
 			  return code;

Loading…
Cancel
Save