This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push: new a264fd9 input/touch: add io command for touch firmware version a264fd9 is described below commit a264fd9541d641fd5c02968287a47eb56dc9e479 Author: futerigele <futerig...@xiaomi.com> AuthorDate: Mon Sep 27 11:12:50 2021 +0800 input/touch: add io command for touch firmware version Signed-off-by: futerigele <futerig...@xiaomi.com> --- include/nuttx/input/touchscreen.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/nuttx/input/touchscreen.h b/include/nuttx/input/touchscreen.h index 28f71b4..0647a88 100644 --- a/include/nuttx/input/touchscreen.h +++ b/include/nuttx/input/touchscreen.h @@ -51,9 +51,10 @@ #define TSIOC_GETCALIB _TSIOC(0x0002) /* arg: Pointer to int calibration value */ #define TSIOC_SETFREQUENCY _TSIOC(0x0003) /* arg: Pointer to uint32_t frequency value */ #define TSIOC_GETFREQUENCY _TSIOC(0x0004) /* arg: Pointer to uint32_t frequency value */ +#define TSIOC_GETFWVERSION _TSIOC(0x0005) /* arg: Pointer to uint32_t firmware version value */ #define TSC_FIRST 0x0001 /* First common command */ -#define TSC_NCMDS 4 /* Four common commands */ +#define TSC_NCMDS 5 /* Five common commands */ /* User defined ioctl commands are also supported. However, the TSC driver must * reserve a block of commands as follows in order prevent IOCTL command numbers