aboutsummaryrefslogtreecommitdiffstats
path: root/demos/various/RT-ARMCM4-GENERIC
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-09 14:57:41 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-09 14:57:41 +0000
commitb8dcd884ffaf6856108d2279905503bbd86c33cf (patch)
treea3bfc65df2e239ad342f7f32302cd59e108d06b2 /demos/various/RT-ARMCM4-GENERIC
parenta9cbe386f2b49049771c3980d8954275d510cf2f (diff)
downloadChibiOS-b8dcd884ffaf6856108d2279905503bbd86c33cf.tar.gz
ChibiOS-b8dcd884ffaf6856108d2279905503bbd86c33cf.tar.bz2
ChibiOS-b8dcd884ffaf6856108d2279905503bbd86c33cf.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7744 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/various/RT-ARMCM4-GENERIC')
-rw-r--r--demos/various/RT-ARMCM4-GENERIC/Makefile2
-rw-r--r--demos/various/RT-ARMCM4-GENERIC/main.c4
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.