From 6f67aa78c3061654bb50ed86dc5f104ca49e87b8 Mon Sep 17 00:00:00 2001 From: Nicolas Reinecke Date: Sat, 30 Apr 2016 16:03:33 +0200 Subject: add STM32 qei (quadrature encoder interface) driver Code from tinito in forum thread: http://forum.chibios.org/phpbb/viewtopic.php?f=14&t=685 Updated to chibios trunk. --- os/hal/src/hal_community.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'os/hal/src/hal_community.c') diff --git a/os/hal/src/hal_community.c b/os/hal/src/hal_community.c index 981aa25..8a39bf1 100644 --- a/os/hal/src/hal_community.c +++ b/os/hal/src/hal_community.c @@ -76,6 +76,10 @@ void halCommunityInit(void) { #if HAL_USE_TIMCAP || defined(__DOXYGEN__) timcapInit(); #endif + +#if HAL_USE_QEI || defined(__DOXYGEN__) + qeiInit(); +#endif } #endif /* HAL_USE_COMMUNITY */ -- cgit v1.2.3