Commit a3b79e47 authored by carlosperate's avatar carlosperate

Fixing minor typo that propagates from copy/paste.

parent ad52c839
......@@ -171,7 +171,7 @@ Blockly.Arduino['io_analogread'] = function(block) {
if (pinKey in Blockly.Arduino.pins_) {
if (Blockly.Arduino.pins_[pinKey] != pinType) {
block.setWarningText(
'Pin alredy used as ' + Blockly.Arduino.pins_[pinKey]);
'Pin already used as ' + Blockly.Arduino.pins_[pinKey]);
} else {
block.setWarningText(null);
}
......
......@@ -40,7 +40,7 @@ Blockly.Arduino['servo_write'] = function(block) {
// If the IO has been configured already set a block warning for the user
if (pinKey in Blockly.Arduino.pins_) {
if (Blockly.Arduino.pins_[pinKey] != pinType) {
block.setWarningText('Pin alredy used as ' + Blockly.Arduino.pins_[pinKey]);
block.setWarningText('Pin already used as ' + Blockly.Arduino.pins_[pinKey]);
} else {
block.setWarningText(null);
}
......@@ -77,7 +77,7 @@ Blockly.Arduino['servo_read'] = function(block) {
// If the IO has been configured already set a block warning for the user
if (pinKey in Blockly.Arduino.pins_) {
if (Blockly.Arduino.pins_[pinKey] != pinType) {
block.setWarningText('Pin alredy used as ' + Blockly.Arduino.pins_[pinKey]);
block.setWarningText('Pin already used as ' + Blockly.Arduino.pins_[pinKey]);
} else {
block.setWarningText(null);
}
......
......@@ -97,7 +97,7 @@ Blockly.Arduino['spi_transfer'] = function(block) {
// If the IO has been configured already set a warning for the user
if (spiSs in Blockly.Arduino.pins_) {
if (Blockly.Arduino.pins_[spiSs] != pinType) {
warningText = warningText + 'Pin alredy used as ' +
warningText = warningText + 'Pin already used as ' +
Blockly.Arduino.pins_[spiSs];
}
} else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment