[KINETIS] Fix KL25Z demo warnings
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7162 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
12927f3933
commit
3f7d4b4a60
|
@ -27,6 +27,8 @@ static THD_FUNCTION(Thread1, arg) {
|
||||||
palTogglePad(IOPORT2, 18);
|
palTogglePad(IOPORT2, 18);
|
||||||
chThdSleepMilliseconds(300);
|
chThdSleepMilliseconds(300);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static THD_WORKING_AREA(waThread2, 64);
|
static THD_WORKING_AREA(waThread2, 64);
|
||||||
|
@ -38,6 +40,8 @@ static THD_FUNCTION(Thread2, arg) {
|
||||||
palTogglePad(IOPORT2, 19);
|
palTogglePad(IOPORT2, 19);
|
||||||
chThdSleepMilliseconds(600);
|
chThdSleepMilliseconds(600);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static THD_WORKING_AREA(waThread3, 64);
|
static THD_WORKING_AREA(waThread3, 64);
|
||||||
|
@ -49,6 +53,8 @@ static THD_FUNCTION(Thread3, arg) {
|
||||||
palTogglePad(IOPORT4, 1);
|
palTogglePad(IOPORT4, 1);
|
||||||
chThdSleepMilliseconds(900);
|
chThdSleepMilliseconds(900);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue