touch_ms followup
This commit is contained in:
		| @@ -40,10 +40,10 @@ int16_t Touch::x, Touch::y; | ||||
| touch_control_t Touch::controls[]; | ||||
| touch_control_t *Touch::current_control; | ||||
| uint16_t Touch::controls_count; | ||||
| millis_t Touch::last_touch_ms = 0; | ||||
| millis_t Touch::time_to_hold; | ||||
| millis_t Touch::repeat_delay; | ||||
| millis_t Touch::touch_time; | ||||
| millis_t Touch::last_touch_ms = 0, | ||||
|          Touch::time_to_hold, | ||||
|          Touch::repeat_delay, | ||||
|          Touch::touch_time; | ||||
| TouchControlType  Touch::touch_control_type = NONE; | ||||
| touch_calibration_t Touch::calibration; | ||||
| #if ENABLED(TOUCH_SCREEN_CALIBRATION) | ||||
|   | ||||
| @@ -140,10 +140,7 @@ class Touch { | ||||
|     static touch_control_t *current_control; | ||||
|     static uint16_t controls_count; | ||||
|  | ||||
|     static millis_t now; | ||||
|     static millis_t time_to_hold; | ||||
|     static millis_t repeat_delay; | ||||
|     static millis_t touch_time; | ||||
|     static millis_t last_touch_ms, time_to_hold, repeat_delay, touch_time; | ||||
|     static TouchControlType touch_control_type; | ||||
|  | ||||
|     static inline bool get_point(int16_t *x, int16_t *y); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user