diff options
Diffstat (limited to 'demos/various/RT-ARMCM4-GENERIC/main.c')
-rw-r--r-- | demos/various/RT-ARMCM4-GENERIC/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/demos/various/RT-ARMCM4-GENERIC/main.c b/demos/various/RT-ARMCM4-GENERIC/main.c index a7e4e8794..fd6b6558e 100644 --- a/demos/various/RT-ARMCM4-GENERIC/main.c +++ b/demos/various/RT-ARMCM4-GENERIC/main.c @@ -29,8 +29,6 @@ static THD_FUNCTION(Thread1, arg) { while (true) {
chThdSleepMilliseconds(1000);
}
-
- return 0;
}
/*
@@ -48,7 +46,7 @@ int main(void) { /*
* Creates the example thread.
*/
- chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
+ (void) chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
/*
* Normal main() thread activity, in this demo it just sleeps.
|