mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
Board to PC
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "freertos/queue.h"
|
||||
|
||||
CommunicationRouter::~CommunicationRouter() {
|
||||
vTaskDelete(m_router_thread);
|
||||
vQueueDelete(m_tcp_rx_queue);
|
||||
}
|
||||
|
||||
@@ -19,3 +20,7 @@ CommunicationRouter::~CommunicationRouter() {
|
||||
std::cout << "callback" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
int CommunicationRouter::send_msg(char* buffer, const size_t length) const {
|
||||
return this->m_tcp_server->send_msg(buffer, length);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user