Skip to content
Commit e7fdb31a authored by Andrzej Głąbek's avatar Andrzej Głąbek Committed by Carles Cufí
Browse files

samples: sensor: qdec: Correct encoder emulation



Use phase shift between the emulated A and B signals equal to the half
of the used period instead of a fixed 1 millisecond, to not enforce
decoders to use relatively frequent sampling just to make use of this
emulation.
Add also a few missing `static` keywords.

Signed-off-by: default avatarAndrzej Głąbek <andrzej.glabek@nordicsemi.no>
parent b6f266a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment