1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-22 08:22:04 +03:00

Removing BYTE keyword (use Serial.write() instead).

This commit is contained in:
David A. Mellis
2011-02-26 13:58:03 -05:00
parent 3eae87adc9
commit 97abbd7a31
4 changed files with 15 additions and 11 deletions

View File

@ -367,7 +367,13 @@ public class Compiler implements MessageConsumer {
e = new RunnerException("Please import the SPI library from the Sketch > Import Library menu.");
s += "\nAs of Arduino 0019, the Ethernet library depends on the SPI library." +
"\nYou appear to be using it or another library that depends on the SPI library.";
}
}
if (pieces[3].trim().equals("'BYTE' was not declared in this scope")) {
e = new RunnerException("The 'BYTE' keyword is no longer supported.");
s += "\nAs of Arduino 1.0, the 'BYTE' keyword is no longer supported." +
"\nPlease use Serial.write() instead.";
}
if (exception == null && e != null) {
exception = e;