Fix _BV already defined warnings
This commit is contained in:
parent
2ea779e560
commit
34eaaab5fb
@ -55,10 +55,6 @@
|
|||||||
#error "Pins for this chip not defined in Arduino.h! If you have a working pins definition, please contribute!"
|
#error "Pins for this chip not defined in Arduino.h! If you have a working pins definition, please contribute!"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _BV
|
|
||||||
#define _BV(bit) (1UL << (bit))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Magic I/O routines
|
* Magic I/O routines
|
||||||
*
|
*
|
||||||
|
@ -53,8 +53,6 @@
|
|||||||
#define MYSERIAL customizedSerial
|
#define MYSERIAL customizedSerial
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define _BV(bit) (1 << (bit))
|
|
||||||
|
|
||||||
// We need the previous define before the include, or compilation bombs...
|
// We need the previous define before the include, or compilation bombs...
|
||||||
#include "MarlinSerial_Due.h"
|
#include "MarlinSerial_Due.h"
|
||||||
|
|
||||||
|
@ -38,8 +38,6 @@
|
|||||||
#define OUTPUT 0x01
|
#define OUTPUT 0x01
|
||||||
#define INPUT_PULLUP 0x02
|
#define INPUT_PULLUP 0x02
|
||||||
|
|
||||||
#define _BV(bit) (1 << (bit))
|
|
||||||
|
|
||||||
#define E2END 0xFFF // EEPROM end address
|
#define E2END 0xFFF // EEPROM end address
|
||||||
|
|
||||||
typedef uint8_t byte;
|
typedef uint8_t byte;
|
||||||
|
@ -77,8 +77,6 @@
|
|||||||
#define MYSERIAL Serial3
|
#define MYSERIAL Serial3
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define _BV(bit) (1 << (bit))
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TODO: review this to return 1 for pins that are not analog input
|
* TODO: review this to return 1 for pins that are not analog input
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user