git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5490 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
d70f051271
commit
b1c1f94d4a
|
@ -53,7 +53,7 @@ void adcerrorcallback(ADCDriver *adcp, adcerror_t err) {
|
|||
}
|
||||
|
||||
/*
|
||||
* Red LEDs blinker thread, times are in milliseconds.
|
||||
* LED blinker thread, times are in milliseconds.
|
||||
*/
|
||||
static WORKING_AREA(waThread1, 128);
|
||||
static msg_t Thread1(void *arg) {
|
||||
|
@ -107,7 +107,8 @@ int main(void) {
|
|||
adcStartConversion(&ADCD3, &adcgrpcfg2, samples2, ADC_GRP2_BUF_DEPTH);
|
||||
|
||||
/*
|
||||
* Normal main() thread activity, in this demo it does nothing.
|
||||
* Normal main() thread activity, once the button is pressed the ADC
|
||||
* conversion is stopped.
|
||||
*/
|
||||
while (TRUE) {
|
||||
if (palReadPad(PORT11, P11_BUTTON1)) {
|
||||
|
|
Loading…
Reference in New Issue