mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
Various bugfixes
This commit is contained in:
@@ -16,11 +16,10 @@
|
||||
char buffer[512];
|
||||
while (true) {
|
||||
messaging_interface->recv(buffer, 512, 0, 1);
|
||||
std::cout << buffer << std::endl;
|
||||
//std::cout << buffer << std::endl;
|
||||
|
||||
|
||||
char s[21] = {'H', 'e', 'l', 'l', 'o', ' ', 'f', 'r', 'o', 'm', ' ', 't', 'h', 'e', ' ', 'B', 'O', 'A', 'R', 'D', '!' };
|
||||
messaging_interface->send(s, 21, 5, 2, true);
|
||||
std::string s = std::format("num {} bo", ConfigManager::get_module_id());
|
||||
messaging_interface->send(s.data(), s.size(), 0, 2, true);
|
||||
|
||||
ESP_LOGI("MEM", "Free internal RAM: %d", heap_caps_get_free_size(MALLOC_CAP_8BIT));
|
||||
ESP_LOGI("MEM", "Free PSRAM: %d", heap_caps_get_free_size(MALLOC_CAP_SPIRAM));
|
||||
|
||||
@@ -16,6 +16,5 @@ extern "C" [[noreturn]] void app_main(void) {
|
||||
ESP_LOGI("MEM", "Free PSRAM: %d", heap_caps_get_free_size(MALLOC_CAP_SPIRAM));
|
||||
|
||||
ConfigManager::init_config();
|
||||
mDNSDiscoveryService::setup();
|
||||
LoopManager::control_loop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user