diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2011-09-16 15:46:51 -0400 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2011-09-16 15:46:51 -0400 |
commit | 29a707a06b1916328981e6eb28462dce308cb26a (patch) | |
tree | 67a76ef2ef8aa9286781ef721a2ed4ec97eaaa4f /bootloaders/diskloader/src/Platform.h | |
parent | 533f413d9b438b0fdd503db6384e6f474f7989d7 (diff) |
updated pin mappings for bootloader and pins_arduino.h in anticipation of final hardware.
Diffstat (limited to 'bootloaders/diskloader/src/Platform.h')
-rw-r--r-- | bootloaders/diskloader/src/Platform.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bootloaders/diskloader/src/Platform.h b/bootloaders/diskloader/src/Platform.h index 471bc90..6acbf39 100644 --- a/bootloaders/diskloader/src/Platform.h +++ b/bootloaders/diskloader/src/Platform.h @@ -25,11 +25,11 @@ typedef unsigned long u32; #define USB_PID ARDUINO_MODEL_PID // passed in by Makefile - 0x0034 for Leonardo, 0x0035 for MIcro #define OEM_NAME 'l','e','o','n','a','r','d','o' // 8 chars -#define BOARD_INIT() DDRC |= (1<<7); DDRB |= (1<<0); DDRE |= (1<<6); CPU_PRESCALE(0); DISABLE_JTAG(); +#define BOARD_INIT() DDRC |= (1<<7); DDRB |= (1<<0); DDRD |= (1<<5); CPU_PRESCALE(0); DISABLE_JTAG(); #define LED0 PORTC &= ~(1<<7) #define LED1 PORTC |= (1<<7) -#define TXLED0 PORTE |= (1<<6) -#define TXLED1 PORTE &= ~(1<<6) +#define TXLED0 PORTD |= (1<<5) +#define TXLED1 PORTD &= ~(1<<5) #define RXLED0 PORTB |= (1<<0) #define RXLED1 PORTB &= ~(1<<0) |