aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/diskloader/src/Platform.h
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-08-14 16:02:16 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2011-08-14 16:02:16 -0400
commitb8a2daf8bcda528be820eb0b76e6b15961cd71c0 (patch)
treecfe3dbacbfa18b8a3fc1426f5ee8f92b82f01c78 /bootloaders/diskloader/src/Platform.h
parent5b453fd6069349f3e08dbe72a32eb6a2a60a6afb (diff)
LEDs for D13, TX, and RX are more in line with Uno-like behavior during sketch uploading.
D13 flashes on reboot, TX and RX flash with USB data transfer.
Diffstat (limited to 'bootloaders/diskloader/src/Platform.h')
-rw-r--r--bootloaders/diskloader/src/Platform.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bootloaders/diskloader/src/Platform.h b/bootloaders/diskloader/src/Platform.h
index 3f55c68..004933e 100644
--- a/bootloaders/diskloader/src/Platform.h
+++ b/bootloaders/diskloader/src/Platform.h
@@ -33,10 +33,10 @@ typedef unsigned long u32;
#define BOARD_INIT() DDRC |= (1<<7); DDRB |= (1<<0); DDRE |= (1<<6); 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 RXLED0 PORTB &= ~(1<<0)
-#define RXLED1 PORTB |= (1<<0)
+#define TXLED0 PORTE |= (1<<6)
+#define TXLED1 PORTE &= ~(1<<6)
+#define RXLED0 PORTB |= (1<<0)
+#define RXLED1 PORTB &= ~(1<<0)
#define TRANSFER_PGM 0x80
#define TRANSFER_RELEASE 0x40