From b1c1f94d4ae48d7420c6441cf9f1831dad27c784 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 22 Mar 2013 15:00:22 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5490 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/SPC563Mxx/ADC/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'testhal/SPC563Mxx/ADC') diff --git a/testhal/SPC563Mxx/ADC/main.c b/testhal/SPC563Mxx/ADC/main.c index 398c56b4f..a8e1bea8d 100644 --- a/testhal/SPC563Mxx/ADC/main.c +++ b/testhal/SPC563Mxx/ADC/main.c @@ -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)) { -- cgit v1.2.3