From 488bba9d494914cbc1e3975d8a10fab57976edf9 Mon Sep 17 00:00:00 2001 From: lewisxhe Date: Mon, 30 Dec 2024 09:23:42 +0800 Subject: [PATCH] [TouchDrvCSTXXX] Fixed begin faile return value --- src/TouchDrvCSTXXX.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/TouchDrvCSTXXX.hpp b/src/TouchDrvCSTXXX.hpp index df7c6f3..3c46e4d 100644 --- a/src/TouchDrvCSTXXX.hpp +++ b/src/TouchDrvCSTXXX.hpp @@ -201,7 +201,7 @@ class TouchDrvCSTXXX : public TouchDrvInterface } if (!drv) { __touch_type = TouchDrv_UNKOWN; - return true; + return false; } return drv != NULL; } @@ -246,7 +246,7 @@ class TouchDrvCSTXXX : public TouchDrvInterface } if (!drv) { __touch_type = TouchDrv_UNKOWN; - return true; + return false; } return drv != NULL; } @@ -291,7 +291,7 @@ class TouchDrvCSTXXX : public TouchDrvInterface } if (!drv) { __touch_type = TouchDrv_UNKOWN; - return true; + return false; } return drv != NULL; } @@ -347,7 +347,7 @@ class TouchDrvCSTXXX : public TouchDrvInterface } if (!drv) { __touch_type = TouchDrv_UNKOWN; - return true; + return false; } return drv != NULL; }