提交 4b4f5c00 编写于 作者: H huangshan

fixed bce349a4 from https://gitee.com/uhamc/third_party_NuttX/pulls/98

适配内核修改,CheckMagicKey()传入consoleID
Signed-off-by: Nhuangshan <huangshan9@huawei.com>
Change-Id: I3f4edbda4ca2dc0f6c6e38beffc28b4ed0b93fcd
上级 51587396
......@@ -912,7 +912,7 @@ static void cdcacm_rdcomplete(FAR struct usbdev_ep_s *ep,
/* Magic key */
if (CheckMagicKey(*(char *)req->buf))
if (CheckMagicKey(*(char *)req->buf, CONSOLE_SERIAL))
{
atomic_set(&g_magickey, 1);
(void)cdcacm_recvpacket(priv, rdcontainer);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册