Moved the lambdas to actual functions to avoid them dissapearing after setup.

This commit is contained in:
2024-09-25 18:47:12 -04:00
parent 59bafb2549
commit a5652102a0
3 changed files with 39 additions and 34 deletions

View File

@@ -39,8 +39,6 @@ public:
private:
static constexpr uint32_t MAX_COMMAND_SIZE{10};
// pointer to the head of the command array
uint32_t * command{nullptr};
// an array of command callbacks
CommandCallback commandCallbacks[MAX_COMMAND_SIZE];