This is an automated email from the ASF dual-hosted git repository. ligd pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 9bd6c70339 input/touchscreen: Bring up TSIOC_[SET|GET]CALIB macro 9bd6c70339 is described below commit 9bd6c70339a82e680bbf4169c20ee568534fa810 Author: Xiang Xiao <xiaoxi...@xiaomi.com> AuthorDate: Mon Sep 18 11:16:55 2023 +0800 input/touchscreen: Bring up TSIOC_[SET|GET]CALIB macro which is removed accidently in: https://github.com/apache/nuttx/pull/9398 Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com> --- include/nuttx/input/touchscreen.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/nuttx/input/touchscreen.h b/include/nuttx/input/touchscreen.h index 3d6cabaf2b..7a191bb943 100644 --- a/include/nuttx/input/touchscreen.h +++ b/include/nuttx/input/touchscreen.h @@ -90,7 +90,12 @@ */ #define TSC_FIRST 0x0001 /* First common command */ -#define TSC_NCMDS 6 /* Six common commands */ +#define TSC_NCMDS 13 /* Thirteen common commands */ + +/* Backward compatible IOCTL */ + +#define TSIOC_SETCALIB TSIOC_SETXRCAL +#define TSIOC_GETCALIB TSIOC_GETXRCAL /* User defined ioctl commands are also supported. However, the * TSC driver must reserve a block of commands as follows in order