Added BOARD_BALANDUINO macro

This commit is contained in:
Kristian Sloth Lauszus 2013-02-04 20:46:23 +01:00
parent 4e7ad8eed8
commit b3a2c3a632
2 changed files with 2 additions and 1 deletions

2
Usb.h
View file

@ -57,7 +57,7 @@ typedef MAX3421e<P6, P3> MAX3421E; // Black Widow
typedef MAX3421e<P9, P8> MAX3421E; // Teensy++ 2.0 & 1.0
#elif defined(BOARD_MEGA_ADK)
typedef MAX3421e<P53, P54> MAX3421E; // Arduino Mega ADK
#elif !defined(BOARD_SANGUINO) && (defined(__AVR_ATmega644__) || defined(__AVR_ATmega644P__))
#elif defined(BOARD_BALANDUINO)
typedef MAX3421e<P20, P19> MAX3421E; // Balanduino
#else
typedef MAX3421e<P10, P9> MAX3421E; // Official Arduinos (UNO, Duemilanove, Mega, 2560, Leonardo etc.)

View file

@ -630,6 +630,7 @@ template<typename Tp_pin, typename Tc_bit>
#endif // Teensy++ 2.0
#if !defined(BOARD_SANGUINO) && (defined(__AVR_ATmega644__) || defined(__AVR_ATmega644P__))
#define BOARD_BALANDUINO
// Balanduino pin numbers
// http://balanduino.net/
#define P0 Pd0 /* 0 - PD0 */