diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-24 02:27:21 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-24 02:27:21 +0000 |
commit | 18b0d408a9e68cbc1ce36da89d74a799d7fc31de (patch) | |
tree | 4de802eb7e9a4dd0c7235f6e97b83d8ddbca24a8 /Projects/AVRISP/Lib | |
parent | 9decc2bc595bb15ccf275ae2d3854bb862c92881 (diff) | |
download | lufa-18b0d408a9e68cbc1ce36da89d74a799d7fc31de.tar.gz lufa-18b0d408a9e68cbc1ce36da89d74a799d7fc31de.tar.bz2 lufa-18b0d408a9e68cbc1ce36da89d74a799d7fc31de.zip |
Remove serial driver use from the AVRISP project now that it is no longer needed.
Diffstat (limited to 'Projects/AVRISP/Lib')
-rw-r--r-- | Projects/AVRISP/Lib/V2Protocol.c | 2 | ||||
-rw-r--r-- | Projects/AVRISP/Lib/V2Protocol.h | 1 | ||||
-rw-r--r-- | Projects/AVRISP/Lib/XPROG/XPROGProtocol.c | 2 |
3 files changed, 1 insertions, 4 deletions
diff --git a/Projects/AVRISP/Lib/V2Protocol.c b/Projects/AVRISP/Lib/V2Protocol.c index 0c4664e54..4f7904a21 100644 --- a/Projects/AVRISP/Lib/V2Protocol.c +++ b/Projects/AVRISP/Lib/V2Protocol.c @@ -51,8 +51,6 @@ void V2Protocol_ProcessCommand(void) {
uint8_t V2Command = Endpoint_Read_Byte();
- Serial_TxByte(V2Command);
-
switch (V2Command)
{
case CMD_SIGN_ON:
diff --git a/Projects/AVRISP/Lib/V2Protocol.h b/Projects/AVRISP/Lib/V2Protocol.h index 8cc4c3c68..db4d09f0a 100644 --- a/Projects/AVRISP/Lib/V2Protocol.h +++ b/Projects/AVRISP/Lib/V2Protocol.h @@ -39,7 +39,6 @@ /* Includes: */ #include <LUFA/Drivers/USB/USB.h> #include <LUFA/Drivers/Peripheral/SPI.h>
- #include <LUFA/Drivers/Peripheral/Serial.h>
#include "../Descriptors.h" #include "V2ProtocolConstants.h"
diff --git a/Projects/AVRISP/Lib/XPROG/XPROGProtocol.c b/Projects/AVRISP/Lib/XPROG/XPROGProtocol.c index d91941307..98530e9aa 100644 --- a/Projects/AVRISP/Lib/XPROG/XPROGProtocol.c +++ b/Projects/AVRISP/Lib/XPROG/XPROGProtocol.c @@ -44,7 +44,7 @@ uint32_t XPROG_Param_NVMBase = 0x010001C0; uint32_t XPROG_Param_EEPageSize;
/** Currently selected XPROG programming protocol */
-uint8_t XPROG_SelectedProtocol;
+uint8_t XPROG_SelectedProtocol = XPRG_PROTOCOL_PDI;
/** Handler for the CMD_XPROG_SETMODE command, which sets the programmer-to-target protocol used for PDI/TPI
|