Files
firmware/main/LoopManager.cpp
2026-01-30 01:28:11 -05:00

21 lines
412 B
C++

//
// Created by Johnathon Slightham on 2025-07-05.
//
#include "LoopManager.h"
#include <iostream>
#include <memory>
#include <MessagingInterface.h>
void LoopManager::control_loop() {
const auto messaging_interface = std::make_unique<MessagingInterface>();
char buffer[512];
while (true) {
messaging_interface->recv(buffer, 512, 0, 1);
std::cout << buffer << std::endl;
}
}