projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed NO_CLEARSET_FEATURE_REQUEST compile time token to NO_FEATURELESS_CONTROL_ONLY...
[pub/USBasp.git]
/
Demos
/
AudioInput
/
AudioInput.c
diff --git
a/Demos/AudioInput/AudioInput.c
b/Demos/AudioInput/AudioInput.c
index
f5474b4
..
6ead7a0
100644
(file)
--- a/
Demos/AudioInput/AudioInput.c
+++ b/
Demos/AudioInput/AudioInput.c
@@
-63,8
+63,8
@@
int main(void)
MCUSR &= ~(1 << WDRF);
\r
wdt_disable();
\r
\r
MCUSR &= ~(1 << WDRF);
\r
wdt_disable();
\r
\r
- /* Disable
Clock D
ivision */
\r
-
SetSystemClockPrescaler(0
);
\r
+ /* Disable
clock d
ivision */
\r
+
clock_prescale_set(clock_div_1
);
\r
\r
/* Hardware Initialization */
\r
LEDs_Init();
\r
\r
/* Hardware Initialization */
\r
LEDs_Init();
\r
@@
-163,7
+163,8
@@
EVENT_HANDLER(USB_UnhandledControlPacket)
Scheduler_SetTaskMode(USB_Audio_Task, TASK_STOP);
\r
}
\r
\r
Scheduler_SetTaskMode(USB_Audio_Task, TASK_STOP);
\r
}
\r
\r
- /* Handshake the request */
\r
+ /* Acknowledge status stage */
\r
+ while (!(Endpoint_IsSetupINReady()));
\r
Endpoint_ClearSetupIN();
\r
}
\r
\r
Endpoint_ClearSetupIN();
\r
}
\r
\r