projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enhancements to the AVRISP Programmer project to attempt to get AVRStudio to communic...
[pub/USBasp.git]
/
Projects
/
AVRISP
/
AVRISP.c
diff --git
a/Projects/AVRISP/AVRISP.c
b/Projects/AVRISP/AVRISP.c
index
9c21af2
..
0491102
100644
(file)
--- a/
Projects/AVRISP/AVRISP.c
+++ b/
Projects/AVRISP/AVRISP.c
@@
-43,7
+43,7
@@
int main(void)
{
\r
SetupHardware();
\r
\r
{
\r
SetupHardware();
\r
\r
- printf("AVRISP-MKII\r\n");
\r
+ printf("AVRISP-MKII
Clone
\r\n");
\r
\r
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
\r
\r
\r
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
\r
\r
@@
-113,14
+113,9
@@
void Process_AVRISP_Commands(void)
/* Check to see if a V2 Protocol command has been received - if not, abort */
if (!(Endpoint_IsOUTReceived()))
/* Check to see if a V2 Protocol command has been received - if not, abort */
if (!(Endpoint_IsOUTReceived()))
- return;
\r
-
\r
- printf("COMMAND\r\n");
+ return;
/* Pass off processing of the V2 Protocol command to the V2 Protocol handler */
/* Pass off processing of the V2 Protocol command to the V2 Protocol handler */
- V2Protocol_ProcessCommand();
-
\r
- /* Reset Endpoint direction to OUT ready for next command */
\r
- Endpoint_SetEndpointDirection(ENDPOINT_DIR_OUT);
\r
+ V2Protocol_ProcessCommand();
\r
}
}