RMT running in integration

This commit is contained in:
2025-07-12 23:33:54 -04:00
parent a6b8b57a3b
commit 3d85ae97a6
6 changed files with 37 additions and 25 deletions

View File

@@ -13,9 +13,9 @@
class MessagingInterface {
public:
MessagingInterface()
explicit MessagingInterface(std::unique_ptr<WifiManager>&& pc_connection)
: m_mpi_rx_queue(xQueueCreate(MAX_RX_BUFFER_SIZE, RX_QUEUE_SIZE)),
m_router(std::make_unique<CommunicationRouter>([this](char* buffer, const int size) { handleRecv(buffer, size); })),
m_router(std::make_unique<CommunicationRouter>([this](char* buffer, const int size) { handleRecv(buffer, size); }, std::move(pc_connection))),
m_map_semaphore(xSemaphoreCreateMutex()) {};
~MessagingInterface();