xiaoxiang781216 commented on code in PR #17395:
URL: https://github.com/apache/nuttx/pull/17395#discussion_r2580786559
##########
drivers/rpmsg/rpmsg_ping.c:
##########
@@ -162,7 +167,7 @@ static int rpmsg_ping_once(FAR struct rpmsg_endpoint *ept,
int len,
msg->cookie = (uintptr_t)&sem;
nxsem_init(&sem, 0, 0);
- ret = rpmsg_send_nocopy(ept, msg, msg->len);
+ ret = rpmsg_sendto_nocopy(ept, msg, msg->len);
Review Comment:
the code already check is_rpmsg_ept_ready, I would prefer to continue use
rpmsg_send_nocopy since rpmsg_sendto_nocopy is used to no name channel.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]