projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use immediate variable expansion in the second-deepest level makefile scripts to...
[pub/USBasp.git]
/
Demos
/
Device
/
LowLevel
/
AudioInput
/
AudioInput.c
diff --git
a/Demos/Device/LowLevel/AudioInput/AudioInput.c
b/Demos/Device/LowLevel/AudioInput/AudioInput.c
index
eb9c4b5
..
925517b
100644
(file)
--- a/
Demos/Device/LowLevel/AudioInput/AudioInput.c
+++ b/
Demos/Device/LowLevel/AudioInput/AudioInput.c
@@
-77,7
+77,7
@@
void SetupHardware(void)
USB_Init();
/* Start the ADC conversion in free running mode */
USB_Init();
/* Start the ADC conversion in free running mode */
- ADC_StartReading(ADC_REFERENCE_AVCC | ADC_RIGHT_ADJUSTED |
MIC_IN_ADC_MUX_MASK
);
+ ADC_StartReading(ADC_REFERENCE_AVCC | ADC_RIGHT_ADJUSTED |
ADC_GET_CHANNEL_MASK(MIC_IN_ADC_CHANNEL)
);
}
/** Event handler for the USB_Connect event. This indicates that the device is enumerating via the status LEDs, and
}
/** Event handler for the USB_Connect event. This indicates that the device is enumerating via the status LEDs, and