Moved the lambdas to actual functions to avoid them dissapearing after setup.
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user