hc
2023-02-13 e440ec23c5a540cdd3f7464e8779219be6fd3d95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From dfe58415e8e98cd87be6b0068471ee4e9f750598 Mon Sep 17 00:00:00 2001
From: Jeffy Chen <jeffy.chen@rock-chips.com>
Date: Fri, 16 Oct 2020 12:19:44 +0800
Subject: [PATCH 31/74] touch-calibrator: Ignore verify errors
 
Print warnings instead, this is useful when emulating a small screen.
 
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---
 clients/touch-calibrator.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 
diff --git a/clients/touch-calibrator.c b/clients/touch-calibrator.c
index 04a966b..815b89a 100644
--- a/clients/touch-calibrator.c
+++ b/clients/touch-calibrator.c
@@ -854,7 +854,8 @@ calibrator_run(struct calibrator *cal)
         return CAL_EXIT_ERROR;
 
     if (verify_calibration(cal, result) < 0)
-        return CAL_EXIT_ERROR;
+        //return CAL_EXIT_ERROR;
+        pr_ver("Ignoring verify errors.\n");
 
     pr_ver("Calibration values:");
     for (i = 0; i < 6; i++)
-- 
2.20.1