diff options
Diffstat (limited to 'Projects/Benito')
-rw-r--r-- | Projects/Benito/Benito Programmer.inf (renamed from Projects/Benito/LUFA USBtoSerial.inf) | 0 | ||||
-rw-r--r-- | Projects/Benito/Benito.c | 5 | ||||
-rw-r--r-- | Projects/Benito/makefile | 6 |
3 files changed, 8 insertions, 3 deletions
diff --git a/Projects/Benito/LUFA USBtoSerial.inf b/Projects/Benito/Benito Programmer.inf index bd9c8bf14..bd9c8bf14 100644 --- a/Projects/Benito/LUFA USBtoSerial.inf +++ b/Projects/Benito/Benito Programmer.inf diff --git a/Projects/Benito/Benito.c b/Projects/Benito/Benito.c index ba8053473..712016bc0 100644 --- a/Projects/Benito/Benito.c +++ b/Projects/Benito/Benito.c @@ -36,8 +36,13 @@ #include "Benito.h"
+/** Counter for the number of milliseconds remaining for the target /RESET pulse being generated. */
volatile uint8_t ResetPulseMSRemaining = 0;
+
+/** Counter for the number of milliseconds remaining for the TX activity LED pulse being generated. */
volatile uint8_t TxPulseMSRemaining = 0;
+
+/** Counter for the number of milliseconds remaining for the RX activity LED pulse being generated. */
volatile uint8_t RxPulseMSRemaining = 0;
/** LUFA CDC Class driver interface configuration and state information. This structure is
diff --git a/Projects/Benito/makefile b/Projects/Benito/makefile index 7d56cdb3f..71422b64e 100644 --- a/Projects/Benito/makefile +++ b/Projects/Benito/makefile @@ -192,9 +192,9 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS)
-CDEFS += -DAVR_RESET_LINE_PORT="PORTD"
-CDEFS += -DAVR_RESET_LINE_DDR="DDRD"
-CDEFS += -DAVR_RESET_LINE_MASK="(1 << 5)"
+CDEFS += -DAVR_RESET_LINE_PORT="PORTB"
+CDEFS += -DAVR_RESET_LINE_DDR="DDRB"
+CDEFS += -DAVR_RESET_LINE_MASK="(1 << 0)"
CDEFS += -DAVR_RESET_PULSE_MS=10
CDEFS += -DTX_RX_LED_PULSE_MS=10
|