diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-07-04 12:12:25 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-07-04 12:12:25 +0000 |
commit | f53cac6961b33a09913a5ae87dfe410686f153bb (patch) | |
tree | 2b32db381eda75d82b3b25052f246c7b00024076 /demos | |
parent | e5bd63772994b9b9aa448c43870acf3580efaab7 (diff) | |
download | ChibiOS-f53cac6961b33a09913a5ae87dfe410686f153bb.tar.gz ChibiOS-f53cac6961b33a09913a5ae87dfe410686f153bb.tar.bz2 ChibiOS-f53cac6961b33a09913a5ae87dfe410686f153bb.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@333 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/ARM7-AT91SAM7X-GCC/main.c | 2 | ||||
-rw-r--r-- | demos/ARM7-AT91SAM7X-WEB-GCC/main.c | 4 | ||||
-rw-r--r-- | demos/ARM7-LPC214x-GCC-minimal/main.c | 4 | ||||
-rw-r--r-- | demos/ARMCM3-STM32F103-GCC/main.c | 2 | ||||
-rw-r--r-- | demos/AVR-AT90CANx-GCC/main.c | 2 | ||||
-rw-r--r-- | demos/AVR-ATmega128-GCC/main.c | 2 | ||||
-rw-r--r-- | demos/MSP430-MSP430x1611-GCC/main.c | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/demos/ARM7-AT91SAM7X-GCC/main.c b/demos/ARM7-AT91SAM7X-GCC/main.c index e5c2e7d4f..db1959c0c 100644 --- a/demos/ARM7-AT91SAM7X-GCC/main.c +++ b/demos/ARM7-AT91SAM7X-GCC/main.c @@ -46,7 +46,7 @@ int main(int argc, char **argv) { */
chSysInit();
- chThdCreate(NORMALPRIO, 0, waThread1, sizeof(waThread1), Thread1, NULL);
+ chThdCreateFast(NORMALPRIO, waThread1, sizeof(waThread1), Thread1);
while (TRUE) {
chThdSleep(500);
diff --git a/demos/ARM7-AT91SAM7X-WEB-GCC/main.c b/demos/ARM7-AT91SAM7X-WEB-GCC/main.c index bf23f3278..7861a0408 100644 --- a/demos/ARM7-AT91SAM7X-WEB-GCC/main.c +++ b/demos/ARM7-AT91SAM7X-WEB-GCC/main.c @@ -51,8 +51,8 @@ int main(int argc, char **argv) { */
chSysInit();
- chThdCreate(NORMALPRIO, 0, waThread1, sizeof(waThread1), Thread1, NULL);
- chThdCreate(NORMALPRIO - 1, 0, waWebThread, sizeof(waWebThread), WebThread, NULL);
+ chThdCreateFast(NORMALPRIO, waThread1, sizeof(waThread1), Thread1);
+ chThdCreateFast(NORMALPRIO - 1, waWebThread, sizeof(waWebThread), WebThread);
while (TRUE) {
chThdSleep(500);
diff --git a/demos/ARM7-LPC214x-GCC-minimal/main.c b/demos/ARM7-LPC214x-GCC-minimal/main.c index 87d59dce0..bbbc3ce6c 100644 --- a/demos/ARM7-LPC214x-GCC-minimal/main.c +++ b/demos/ARM7-LPC214x-GCC-minimal/main.c @@ -69,8 +69,8 @@ int main(int argc, char **argv) { /*
* Creates the blinker threads.
*/
- chThdCreate(NORMALPRIO, 0, waThread1, sizeof(waThread1), Thread1, NULL);
- chThdCreate(NORMALPRIO, 0, waThread2, sizeof(waThread2), Thread2, NULL);
+ chThdCreateFast(NORMALPRIO, waThread1, sizeof(waThread1), Thread1);
+ chThdCreateFast(NORMALPRIO, waThread2, sizeof(waThread2), Thread2);
/*
* Normal main() thread activity, in this demo it does nothing except
diff --git a/demos/ARMCM3-STM32F103-GCC/main.c b/demos/ARMCM3-STM32F103-GCC/main.c index 6a2037393..c8d35815c 100644 --- a/demos/ARMCM3-STM32F103-GCC/main.c +++ b/demos/ARMCM3-STM32F103-GCC/main.c @@ -52,7 +52,7 @@ int main(int argc, char **argv) { /*
* Creates the blinker threads.
*/
- chThdCreate(NORMALPRIO, 0, waThread1, sizeof(waThread1), Thread1, NULL);
+ chThdCreateFast(NORMALPRIO, waThread1, sizeof(waThread1), Thread1);
/*
* Normal main() thread activity, in this demo it does nothing except
diff --git a/demos/AVR-AT90CANx-GCC/main.c b/demos/AVR-AT90CANx-GCC/main.c index 2379b670f..9dde101ef 100644 --- a/demos/AVR-AT90CANx-GCC/main.c +++ b/demos/AVR-AT90CANx-GCC/main.c @@ -69,7 +69,7 @@ int main(int argc, char **argv) { /*
* Starts the LED blinker thread.
*/
- chThdCreate(NORMALPRIO, 0, waThread1, sizeof(waThread1), Thread1, NULL);
+ chThdCreateFast(NORMALPRIO, waThread1, sizeof(waThread1), Thread1);
while(TRUE)
chEvtWait(ALL_EVENTS, handlers);
diff --git a/demos/AVR-ATmega128-GCC/main.c b/demos/AVR-ATmega128-GCC/main.c index 53fe21b2d..f238642ef 100644 --- a/demos/AVR-ATmega128-GCC/main.c +++ b/demos/AVR-ATmega128-GCC/main.c @@ -80,7 +80,7 @@ int main(int argc, char **argv) { /*
* Starts the LED blinker thread.
*/
- chThdCreate(NORMALPRIO, 0, waThread1, sizeof(waThread1), Thread1, NULL);
+ chThdCreateFast(NORMALPRIO, waThread1, sizeof(waThread1), Thread1);
while(TRUE)
chEvtWait(ALL_EVENTS, handlers);
diff --git a/demos/MSP430-MSP430x1611-GCC/main.c b/demos/MSP430-MSP430x1611-GCC/main.c index 6790720ef..07b420b55 100644 --- a/demos/MSP430-MSP430x1611-GCC/main.c +++ b/demos/MSP430-MSP430x1611-GCC/main.c @@ -56,7 +56,7 @@ int main(int argc, char **argv) { /*
* Creates the blinker threads.
*/
- chThdCreate(NORMALPRIO, 0, waThread1, sizeof(waThread1), Thread1, NULL);
+ chThdCreateFast(NORMALPRIO, waThread1, sizeof(waThread1), Thread1);
/*
* Normal main() thread activity, in this demo it does nothing except
|