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; }