mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-24 16:39:49 +00:00
[fix] インラインブロックにセミコロンがついていたのを削除
This commit is contained in:
parent
3984b9bfdd
commit
1be8d97e28
@ -759,7 +759,7 @@ Blockly.Blocks['ugj_i2c_read_byte_data'] = {
|
||||
};
|
||||
Blockly.JavaScript['ugj_i2c_read_byte_data'] = function (block) {
|
||||
var value_reg = Blockly.JavaScript.valueToCode(block, 'reg', Blockly.JavaScript.ORDER_ATOMIC);
|
||||
var code = `pi.i2c_read_byte_data(i2c_hand, ${value_reg});\n`;
|
||||
var code = `pi.i2c_read_byte_data(i2c_hand, ${value_reg})\n`;
|
||||
return [code, Blockly.JavaScript.ORDER_NONE];
|
||||
};
|
||||
Blockly.Python['ugj_i2c_read_byte_data'] = function (block) {
|
||||
|
Loading…
Reference in New Issue
Block a user