diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-10-03 14:18:56 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-10-03 14:18:56 +0000 |
commit | 4b049c1f175144f8583df5eb9e3a620ac306ee98 (patch) | |
tree | d20a3ec4de726fbfb746c6062061e24b7ac3d3be /testhal/STM32F1xx/ADC/main.c | |
parent | fe65d988275f509d3e7b71014c19c1d1aefac035 (diff) | |
download | ChibiOS-4b049c1f175144f8583df5eb9e3a620ac306ee98.tar.gz ChibiOS-4b049c1f175144f8583df5eb9e3a620ac306ee98.tar.bz2 ChibiOS-4b049c1f175144f8583df5eb9e3a620ac306ee98.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6353 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F1xx/ADC/main.c')
-rw-r--r-- | testhal/STM32F1xx/ADC/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testhal/STM32F1xx/ADC/main.c b/testhal/STM32F1xx/ADC/main.c index 43ae179ee..3fcbafbfc 100644 --- a/testhal/STM32F1xx/ADC/main.c +++ b/testhal/STM32F1xx/ADC/main.c @@ -89,10 +89,11 @@ static const ADCConversionGroup adcgrpcfg2 = { /*
* Red LEDs blinker thread, times are in milliseconds.
*/
-static WORKING_AREA(waThread1, 128);
-static msg_t Thread1(void *arg) {
+static THD_WORKING_AREA(waThread1, 128);
+static THD_FUNCTION(Thread1, arg) {
(void)arg;
+
chRegSetThreadName("blinker");
while (TRUE) {
palClearPad(IOPORT3, GPIOC_LED);
|