int main(void)\r
{\r
SetupHardware();\r
- \r
+\r
+ V2Params_LoadEEPROMParamValues();\r
+\r
printf("AVRISP-MKII Clone\r\n");\r
\r
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);\r
\r
/* Hardware Initialization */\r
SerialStream_Init(9600, false);\r
+ SPI_Init(0, true);\r
LEDs_Init();\r
USB_Init();\r
}\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);\r
}\r
}\r
-
+\r
+/** Processes incomming V2 Protocol commands from the host, returning a response when required. */
void Process_AVRISP_Commands(void)
{
/* Device must be connected and configured for the task to run */\r