mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 09:37:21 +02:00
Cleanup RPC component
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
#include <cstdio>
|
||||
#include <cinttypes>
|
||||
#include <memory>
|
||||
|
||||
#include "sdkconfig.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "esp_chip_info.h"
|
||||
#include "esp_flash.h"
|
||||
#include "nvs_flash.h"
|
||||
|
||||
@@ -15,7 +13,7 @@ extern "C" [[noreturn]] void app_main(void) {
|
||||
nvs_flash_init();
|
||||
|
||||
const auto manager = std::make_unique<WifiManager>();
|
||||
manager->init();
|
||||
manager->connect();
|
||||
|
||||
printf("Hello world!\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user