Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information