diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-22 15:00:22 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-22 15:00:22 +0000 |
commit | b1c1f94d4ae48d7420c6441cf9f1831dad27c784 (patch) | |
tree | 17de1efd819fcaed6b50ca65abc126dd1f531940 /testhal/SPC563Mxx/ADC | |
parent | d70f0512714432cc81a9976c3c341a52288ebf53 (diff) | |
download | ChibiOS-b1c1f94d4ae48d7420c6441cf9f1831dad27c784.tar.gz ChibiOS-b1c1f94d4ae48d7420c6441cf9f1831dad27c784.tar.bz2 ChibiOS-b1c1f94d4ae48d7420c6441cf9f1831dad27c784.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5490 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/SPC563Mxx/ADC')
-rw-r--r-- | testhal/SPC563Mxx/ADC/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
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)) {
|