Explorar el Código

Remove ancient BYTE define (causes more trouble than it's worth)

teensy4-core
PaulStoffregen hace 6 años
padre
commit
92533cb5ce
Se han modificado 3 ficheros con 8 adiciones y 8 borrados
  1. +2
    -2
      keywords.txt
  2. +3
    -3
      teensy/Print.h
  3. +3
    -3
      teensy3/Print.h

+ 2
- 2
keywords.txt Ver fichero

@@ -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

+ 3
- 3
teensy/Print.h Ver fichero

@@ -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;


+ 3
- 3
teensy3/Print.h Ver fichero

@@ -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;


Cargando…
Cancelar
Guardar