Skip to content

Commit

Permalink
Remove ancient BYTE define (causes more trouble than it's worth)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulStoffregen committed Aug 26, 2018
1 parent 87f6186 commit 92533cb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ waitForEvent KEYWORD2
MillisTimer LITERAL1
beginRepeating KEYWORD2

# removed by Arduino 1.0, but still in Teensyduino
BYTE LITERAL1
# removed by Arduino 1.0, now also removed from Teensyduino
#BYTE LITERAL1

# Arduino constants
A0 LITERAL1
Expand Down
6 changes: 3 additions & 3 deletions teensy/Print.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@

// BYTE was defined in very old versions of Arduino
// maybe this now causes more trouble than it's worth?
#ifndef BYTE
#define BYTE 0
#endif
//#ifndef BYTE
//#define BYTE 0
//#endif

class __FlashStringHelper;

Expand Down
6 changes: 3 additions & 3 deletions teensy3/Print.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@

// BYTE was defined in very old versions of Arduino
// maybe this now causes more trouble than it's worth?
#ifndef BYTE
#define BYTE 0
#endif
//#ifndef BYTE
//#define BYTE 0
//#endif

class __FlashStringHelper;

Expand Down

0 comments on commit 92533cb

Please sign in to comment.