Update code and StaticAnlysisTest so that missingInclude warnings do not have to...
[pub/USBasp.git] / Projects / AVRISP-MKII / Lib / XPROG / XPROGTarget.c
index 471ebee..b50ffbd 100644 (file)
@@ -7,7 +7,7 @@
 */
 
 /*
 */
 
 /*
-  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2012  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -155,9 +155,6 @@ uint8_t XPROGTarget_ReceiveByte(void)
        /* Wait until a byte has been received before reading */
        while (!(UCSR1A & (1 << RXC1)) && !(TimeoutExpired));
 
        /* Wait until a byte has been received before reading */
        while (!(UCSR1A & (1 << RXC1)) && !(TimeoutExpired));
 
-       /* Byte of data received - reset the timeout */
-       wdt_reset();
-
        return UDR1;
 }
 
        return UDR1;
 }