From dc873966e97dc6c9ecb9560476d3681244801b74 Mon Sep 17 00:00:00 2001 From: Adam Martini Date: Sat, 20 Jun 2020 23:33:18 -0700 Subject: [PATCH] Make sensitivity an int --- src/lv_widgets/lv_rotary.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lv_widgets/lv_rotary.h b/src/lv_widgets/lv_rotary.h index 3b7f718fc..32e3d4c0e 100644 --- a/src/lv_widgets/lv_rotary.h +++ b/src/lv_widgets/lv_rotary.h @@ -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;