src/vyom/lv_port_indev.c
/*Call this function in an interrupt to process encoder events (turn, press)*/
Call this function in an interrupt to process encoder events (turn, press)
Call this function in an interrupt to process encoder events ( turn press )
static void encoder_handler(int step)
{
    encoder_diff += step;
}
static void encoder_handler ( int step ) { encoder_diff += step ; }
Call this function in an interrupt to process encoder events (turn, press)
Call this function in an interrupt to process encoder events ( turn press )
/*Your code comes here*/ // encoder_state = LV_INDEV_STATE_REL;