Fixed some comments.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10530 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
98c5f5d19c
commit
f63698059e
|
@ -62,7 +62,7 @@ int main(void) {
|
||||||
chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
|
chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Enabling callback on both edges of the button line.*/
|
/* Enabling events on both edges of the button line.*/
|
||||||
palEnableLineEvent(PORTAB_LINE_BUTTON, PAL_EVENT_MODE_BOTH_EDGES,
|
palEnableLineEvent(PORTAB_LINE_BUTTON, PAL_EVENT_MODE_BOTH_EDGES,
|
||||||
NULL, NULL);
|
NULL, NULL);
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ int main(void) {
|
||||||
chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
|
chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Enabling callback on both edges of the button line.*/
|
/* Enabling events on both edges of the button line.*/
|
||||||
palEnableLineEvent(PORTAB_LINE_BUTTON, PAL_EVENT_MODE_BOTH_EDGES,
|
palEnableLineEvent(PORTAB_LINE_BUTTON, PAL_EVENT_MODE_BOTH_EDGES,
|
||||||
button_cb, NULL);
|
button_cb, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue