diff options
Diffstat (limited to 'demos/AVR-AT90CANx-GCC/main.c')
-rw-r--r-- | demos/AVR-AT90CANx-GCC/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/AVR-AT90CANx-GCC/main.c b/demos/AVR-AT90CANx-GCC/main.c index 9dde101ef..987deb072 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.
*/
- chThdCreateFast(NORMALPRIO, waThread1, sizeof(waThread1), Thread1);
+ chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
while(TRUE)
chEvtWait(ALL_EVENTS, handlers);
|