Gilles DOFFE 892370121d
cpu/stm32/qdec: test null callback pointer (#14125)
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>
2020-07-10 15:05:53 +02:00
..
2020-06-19 14:18:17 +02:00
2020-06-19 14:18:17 +02:00
2020-05-20 13:39:11 +02:00
2020-06-11 09:51:41 +02:00