projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix up some missing target dependencies and output messages in the LUFA build system...
[pub/USBasp.git]
/
Demos
/
Host
/
LowLevel
/
AudioInputHost
/
AudioInputHost.c
diff --git
a/Demos/Host/LowLevel/AudioInputHost/AudioInputHost.c
b/Demos/Host/LowLevel/AudioInputHost/AudioInputHost.c
index
4d3f44c
..
2fb7c82
100644
(file)
--- a/
Demos/Host/LowLevel/AudioInputHost/AudioInputHost.c
+++ b/
Demos/Host/LowLevel/AudioInputHost/AudioInputHost.c
@@
-7,7
+7,7
@@
*/
/*
*/
/*
- Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
2
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
@@
-152,6
+152,9
@@
void EVENT_USB_Host_DeviceEnumerationComplete(void)
/* Set the sample rate on the streaming interface endpoint */
if ((ErrorCode = USB_Host_SendControlRequest(&SampleRate)) != HOST_SENDCONTROL_Successful)
{
/* Set the sample rate on the streaming interface endpoint */
if ((ErrorCode = USB_Host_SendControlRequest(&SampleRate)) != HOST_SENDCONTROL_Successful)
{
+ printf_P(PSTR(ESC_FG_RED "Could not set requested Audio sample rate.\r\n"
+ " -- Error Code: %d\r\n" ESC_FG_WHITE), ErrorCode);
+
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
USB_Host_SetDeviceConfiguration(0);
return;
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
USB_Host_SetDeviceConfiguration(0);
return;