diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-16 03:17:18 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-16 03:17:18 +0000 |
commit | 461607020c443b4be5e59f38e26d33908aa0f326 (patch) | |
tree | dd469a8d19b0b47ded244a3cae223e304a06d6e8 /Projects/AVRISP/Lib/PDITarget.c | |
parent | 4f74075fad7f1e7a35d04ff534d9d6a57d2b97fc (diff) | |
download | lufa-461607020c443b4be5e59f38e26d33908aa0f326.tar.gz lufa-461607020c443b4be5e59f38e26d33908aa0f326.tar.bz2 lufa-461607020c443b4be5e59f38e26d33908aa0f326.zip |
Use default NVM base address in the AVRISP programmer project in case the host programmer software doesn't set it correctly.
Diffstat (limited to 'Projects/AVRISP/Lib/PDITarget.c')
-rw-r--r-- | Projects/AVRISP/Lib/PDITarget.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Projects/AVRISP/Lib/PDITarget.c b/Projects/AVRISP/Lib/PDITarget.c index 1bbb4d577..a8fe21e9b 100644 --- a/Projects/AVRISP/Lib/PDITarget.c +++ b/Projects/AVRISP/Lib/PDITarget.c @@ -39,14 +39,15 @@ #if defined(ENABLE_PDI_PROTOCOL) || defined(__DOXYGEN__)
/** Flag to indicate if the USART is currently in Tx or Rx mode. */
-volatile bool IsSending;
+volatile bool IsSending;
#if !defined(PDI_VIA_HARDWARE_USART)
/** Software USART raw frame bits for transmission/reception. */
-volatile uint16_t SoftUSART_Data;
+volatile uint16_t SoftUSART_Data;
/** Bits remaining to be sent or received via the software USART - set as a GPIOR for speed. */
-#define SoftUSART_BitCount GPIOR2
+#define SoftUSART_BitCount GPIOR2
+
/** ISR to manage the software USART when bit-banged USART mode is selected. */
ISR(TIMER1_COMPA_vect, ISR_BLOCK)
|