mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
Fix watchdog on rmt task
This commit is contained in:
@@ -33,6 +33,12 @@ public:
|
||||
std::vector<uint8_t> return_value(msg.begin(), msg.end());
|
||||
writer.write(return_value);
|
||||
});
|
||||
const auto bandwidth_test_fn_tag = 101;
|
||||
m_messaging_interface->register_function(bandwidth_test_fn_tag, [](const uint8_t *parameters, size_t parameter_size, Writer& writer) {
|
||||
std::string msg = "";
|
||||
std::vector<uint8_t> return_value(msg.begin(), msg.end());
|
||||
writer.write(return_value);
|
||||
});
|
||||
}
|
||||
|
||||
MessagingInterface &get_messaging_interface();
|
||||
|
||||
@@ -21,6 +21,7 @@ extern "C" [[noreturn]] void app_main(void) {
|
||||
auto& config_manager = ConfigManager::get_instance(); // NOLINT - here for easily adding temporary config
|
||||
config_manager.set_communication_method(CommunicationMethod::Wireless);
|
||||
|
||||
|
||||
esp_log_set_vprintf(RemoteDebugging::custom_log_write);
|
||||
|
||||
const auto loop_manager = std::make_unique<LoopManager>();
|
||||
|
||||
Reference in New Issue
Block a user