diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/various/RT-ARMCM4-GENERIC/Makefile | 2 | ||||
-rw-r--r-- | demos/various/RT-ARMCM4-GENERIC/main.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/demos/various/RT-ARMCM4-GENERIC/Makefile b/demos/various/RT-ARMCM4-GENERIC/Makefile index 580eacb92..383f60b98 100644 --- a/demos/various/RT-ARMCM4-GENERIC/Makefile +++ b/demos/various/RT-ARMCM4-GENERIC/Makefile @@ -199,4 +199,4 @@ include $(RULESPATH)/rules.mk # MISRA check rule, requires PCLint and the setup files, not provided.
#
misra:
- @lint-nt -v -w3 $(DEFS) pclint/co-gcc.lnt pclint/au-misra3.lnt pclint/waivers.lnt $(INCDIR) $(KERNSRC) &> misra.txt
+ @lint-nt -v -w3 $(DEFS) pclint/co-gcc.lnt pclint/au-misra3.lnt pclint/waivers.lnt $(IINCDIR) $(CSRC) &> misra.txt
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.
|