git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3355 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
353ee572ad
commit
be4e2ca38d
|
@ -86,12 +86,12 @@ int main(void) {
|
||||||
* five seconds.
|
* five seconds.
|
||||||
*/
|
*/
|
||||||
while (TRUE) {
|
while (TRUE) {
|
||||||
gptStopTimer(&GPTD1);
|
|
||||||
gptStartContinuous(&GPTD1, 5000);
|
gptStartContinuous(&GPTD1, 5000);
|
||||||
chThdSleepMilliseconds(5000);
|
chThdSleepMilliseconds(5000);
|
||||||
gptStopTimer(&GPTD1);
|
gptStopTimer(&GPTD1);
|
||||||
gptStartContinuous(&GPTD1, 2500);
|
gptStartContinuous(&GPTD1, 2500);
|
||||||
chThdSleepMilliseconds(5000);
|
chThdSleepMilliseconds(5000);
|
||||||
|
gptStopTimer(&GPTD1);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue