mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
MPI
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include "TCPServer.h"
|
||||
#include "ConfigManager.h"
|
||||
#include "constants/tcp.h"
|
||||
#include "LoopManager.h"
|
||||
|
||||
extern "C" [[noreturn]] void app_main(void) {
|
||||
ConfigManager::init_config();
|
||||
@@ -20,12 +21,5 @@ extern "C" [[noreturn]] void app_main(void) {
|
||||
|
||||
mDNSDiscoveryService::setup();
|
||||
|
||||
const auto tcp_server = std::make_unique<TCPServer>(TCP_PORT);
|
||||
|
||||
printf("Hello world!\n");
|
||||
|
||||
for (int i = 0; ; i++) {
|
||||
printf("Beat %d\n", i);
|
||||
vTaskDelay(10000 / portTICK_PERIOD_MS);
|
||||
}
|
||||
LoopManager::control_loop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user