cpu/stm32/qdec: test if callback pointer is set Callback pointer is not tested and could result in a hard fault if the pointer is NULL. Thus only activate interrupt if a callback provided. Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
cpu/stm32: cleanup timer structure in vendor headers