Update rotary-encoder.c