Skip to content

Commit

Permalink
fix: missing semicolon (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
sverben authored Apr 18, 2024
1 parent 1d63306 commit 9f8f786
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"dist",
"media"
],
"version": "2.0.2",
"version": "2.0.3",
"description": "Leaphy custom Blockly blocks and arduino code generator",
"name": "@leaphy-robotics/leaphy-blocks"
}
2 changes: 1 addition & 1 deletion src/generators/arduino.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export class Arduino extends Blockly.Generator {

this.addDeclaration(
`setup_${sensorName}`,
`bool ${sensorName}Setup[8]\n` +
`bool ${sensorName}Setup[8];\n` +
`uint8_t setup${sensorName}() {\n` +
" uint8_t channel = i2cGetChannel();\n" +
` if (!${sensorName}Setup[channel]) {\n` +
Expand Down

0 comments on commit 9f8f786

Please sign in to comment.