From 62b2751754272470a9a23844e4965c1f96c8df45 Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Sun, 5 Jul 2020 18:10:12 +0200 Subject: [PATCH] Autosave touch cal --- ui.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui.c b/ui.c index c35ec17..6b0e5bd 100644 --- a/ui.c +++ b/ui.c @@ -333,6 +333,8 @@ touch_cal_exec(void) config.touch_cal[2] = (x2 - x1) * 16 / LCD_WIDTH; config.touch_cal[3] = (y2 - y1) * 16 / LCD_HEIGHT; + config_save(); // Auto save touch calibration + //redraw_all(); touch_start_watchdog(); }