mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-08-20 21:29:42 +08:00
[dm][rpmsg] port the default RX handler for NS
Application traffic should be bound via a higher layer later. And debug. Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
@@ -66,7 +66,8 @@ static rt_err_t rpmsg_ns_rx_callback(struct rt_rpmsg_device *rdev,
|
||||
}
|
||||
else if (rt_le32_to_cpu(msg->flags) == RT_RPMSG_NS_CREATE)
|
||||
{
|
||||
ept = rt_rpmsg_create_endpoint(rdev, &info, RT_NULL);
|
||||
ept = rt_rpmsg_create_endpoint(rdev, &info,
|
||||
&rpmsg_ns_remote_default_rx);
|
||||
|
||||
if (rt_is_err(ept))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user