This is an automated email from the ASF dual-hosted git repository.
pkarashchenko 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 dfbf06e250 fix uinput rpmsg logic error
dfbf06e250 is described below
commit dfbf06e250b0b05548a9e2379c5651621fcbf15c
Author: yinshengkai <[email protected]>
AuthorDate: Wed Apr 6 17:09:16 2022 +0800
fix uinput rpmsg logic error
---
drivers/input/uinput.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/uinput.c b/drivers/input/uinput.c
index d298a1adbc..d8b84045d7 100644
--- a/drivers/input/uinput.c
+++ b/drivers/input/uinput.c
@@ -272,7 +272,7 @@ static void uinput_rpmsg_notify(FAR struct uinput_context_s
*ctx,
list_for_every_entry(&ctx->eptlist, ept, struct uinput_rpmsg_ept_s, node)
{
- if (is_rpmsg_ept_ready(&ept->ept) == 0)
+ if (is_rpmsg_ept_ready(&ept->ept))
{
if (rpmsg_send(&ept->ept, buffer, buflen) < 0)
{