diff options
-rw-r--r-- | testhal/STM32/multi/PAL/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32/multi/PAL/main.c b/testhal/STM32/multi/PAL/main.c index 26cdcae70..597e8274d 100644 --- a/testhal/STM32/multi/PAL/main.c +++ b/testhal/STM32/multi/PAL/main.c @@ -62,7 +62,7 @@ int main(void) { chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
#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,
NULL, NULL);
@@ -131,7 +131,7 @@ int main(void) { chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
#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,
button_cb, NULL);
|