mirror of
https://github.com/sipeed/MaixCDK.git
synced 2026-11-09 17:04:38 -06:00
remove warning if disable commprotocol
This commit is contained in:
@@ -882,6 +882,11 @@ namespace maix::comm::listener_priv
|
||||
try
|
||||
{
|
||||
this->protocol = new maix::comm::CommProtocol();
|
||||
if(!this->protocol->valid())
|
||||
{
|
||||
delete this->protocol;
|
||||
this->protocol = nullptr;
|
||||
}
|
||||
}
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user