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();
|
||||
|
||||
Reference in New Issue
Block a user