xiaoxiang781216 commented on a change in pull request #5802: URL: https://github.com/apache/incubator-nuttx/pull/5802#discussion_r830721403
########## File path: drivers/input/uinput.c ########## @@ -478,29 +480,30 @@ int uinput_touch_initialize(FAR const char *name, int maxpoint, int buffnums) } utcs_lower->lower.write = uinput_touch_write; - utcs_lower->lower.maxpoint = maxpoint; + utcs_lower->lower.maxpoint = CONFIG_UINPUT_TOUCH_MAXPOINT; #ifdef CONFIG_UINPUT_RPMSG utcs_lower->ctx.notify = uinput_touch_notify; #endif /* Regiest Touchscreen device */ - snprintf(devname, sizeof(devname), "/dev/%s", name); - ret = touch_register(&utcs_lower->lower, devname, buffnums); + snprintf(devname, sizeof(devname), "/dev/%s", UINPUT_NAME_TOUCH); + ret = touch_register(&utcs_lower->lower, devname, + CONFIG_UINPUT_TOUCH_BUFNUMBER); Review comment: Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org