mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
fix uinput rpmsg logic error
This commit is contained in:
committed by
Petro Karashchenko
parent
ff0470d28a
commit
dfbf06e250
@@ -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)
|
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)
|
if (rpmsg_send(&ept->ept, buffer, buflen) < 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user