fixes #20: always use latest workspace to upload code to board

zeedee
Sebastien Cagnon 6 years ago
parent b670c35b3d
commit 178c348144
  1. 2
      blockly/apps/blocklyduino/blockly_helper.js

@ -248,7 +248,7 @@ function uploadCode(code, callback) {
}
function uploadClick() {
var code = document.getElementById('content_arduino').value;
var code = Blockly.Arduino.workspaceToCode();
alert("Ready to upload to Arduino.");

Loading…
Cancel
Save