From b3a2c3a632dbb6c674cfeb8c233bb566f656f710 Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Mon, 4 Feb 2013 20:46:23 +0100 Subject: [PATCH] Added BOARD_BALANDUINO macro --- Usb.h | 2 +- avrpins.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Usb.h b/Usb.h index 47922c70..7acdb2d5 100644 --- a/Usb.h +++ b/Usb.h @@ -57,7 +57,7 @@ typedef MAX3421e MAX3421E; // Black Widow typedef MAX3421e MAX3421E; // Teensy++ 2.0 & 1.0 #elif defined(BOARD_MEGA_ADK) typedef MAX3421e MAX3421E; // Arduino Mega ADK -#elif !defined(BOARD_SANGUINO) && (defined(__AVR_ATmega644__) || defined(__AVR_ATmega644P__)) +#elif defined(BOARD_BALANDUINO) typedef MAX3421e MAX3421E; // Balanduino #else typedef MAX3421e MAX3421E; // Official Arduinos (UNO, Duemilanove, Mega, 2560, Leonardo etc.) diff --git a/avrpins.h b/avrpins.h index a67c4456..f3b5ddb9 100644 --- a/avrpins.h +++ b/avrpins.h @@ -630,6 +630,7 @@ template #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 */