1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

Make sensitivity an int

This commit is contained in:
Adam Martini 2020-06-20 23:33:18 -07:00
parent fe483e8e21
commit dc873966e9

View File

@ -67,10 +67,10 @@ typedef struct {
int16_t cur_value; /*Current value of the rotary*/
int16_t min_value; /*Minimum value of the rotary*/
int16_t max_value; /*Maximum value of the rotary*/
nt16_t sensitivity; /*Increment multiplier of the rotary*/
lv_coord_t last_drag_x; /*Last drag x coordintate of the rotary*/
uint16_t dragging :1;
uint16_t sym :1;
uint16_t sensitivity :1;
} lv_rotary_ext_t;