diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2012-01-10 15:38:26 -0500 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2012-01-10 15:38:26 -0500 |
commit | dbec0f0058fdf33ef95b57f130c5ff8986f5c359 (patch) | |
tree | df5523573c00fed59c26cf36c5c17c9accc02a92 /bootloaders/diskloader/src/Platform.h | |
parent | 648dd85e945a7e0a2db284987377a97936ee77e4 (diff) |
made the bootloader's LED control macro names less offensive
TX_LED_OFF() instead of TXLED0, etc.
Diffstat (limited to 'bootloaders/diskloader/src/Platform.h')
-rw-r--r-- | bootloaders/diskloader/src/Platform.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bootloaders/diskloader/src/Platform.h b/bootloaders/diskloader/src/Platform.h index fcce0a1..2e90334 100644 --- a/bootloaders/diskloader/src/Platform.h +++ b/bootloaders/diskloader/src/Platform.h @@ -28,12 +28,12 @@ typedef unsigned long u32; #define OEM_NAME 'l','e','o','n','a','r','d','o' // 8 chars #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 PORTD |= (1<<5) -#define TXLED1 PORTD &= ~(1<<5) -#define RXLED0 PORTB |= (1<<0) -#define RXLED1 PORTB &= ~(1<<0) +#define L_LED_OFF() PORTC &= ~(1<<7) +#define L_LED_ON() PORTC |= (1<<7) +#define TX_LED_OFF() PORTD |= (1<<5) +#define TX_LED_ON() PORTD &= ~(1<<5) +#define RX_LED_OFF() PORTB |= (1<<0) +#define RX_LED_ON() PORTB &= ~(1<<0) #define TRANSFER_PGM 0x80 #define TRANSFER_RELEASE 0x40 |