MCUSR &= ~(1 << WDRF);\r
wdt_disable();\r
\r
- /* Disable Clock Division */\r
- SetSystemClockPrescaler(0);\r
+ /* Disable clock division */\r
+ clock_prescale_set(clock_div_1);\r
\r
/* Hardware Initialization */\r
Joystick_Init();\r
/* Clear the endpoint data */\r
Endpoint_ClearSetupOUT();\r
\r
- /* Wait until the host is ready to receive the request confirmation */\r
+ /* Acknowledge status stage */\r
while (!(Endpoint_IsSetupINReady()));\r
- \r
- /* Handshake the request by sending an empty IN packet */\r
Endpoint_ClearSetupIN();\r
}\r
\r