Skip to content

Commit 0eb0a9d

Browse files
CopilotMikefly123
andcommitted
Increase command dispatcher table size to 55
- Raised CMD_DISPATCHER_DISPATCH_TABLE_SIZE from 50 to 55 - Fixes assertion failure on boot caused by exceeding command slot limit - The addition of RESET_TOTAL_POWER and RESET_TOTAL_GENERATION commands pushed the total command count beyond the previous limit of 50 - System was trying to register to slot 49 (50th slot) when limit was reached Co-authored-by: Mikefly123 <[email protected]>
1 parent 3dfbb9d commit 0eb0a9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FprimeZephyrReference/project/config/CommandDispatcherImplCfg.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// Define configuration values for dispatcher
1212

1313
enum {
14-
CMD_DISPATCHER_DISPATCH_TABLE_SIZE = 50, // !< The size of the table holding opcodes to dispatch
14+
CMD_DISPATCHER_DISPATCH_TABLE_SIZE = 55, // !< The size of the table holding opcodes to dispatch
1515
CMD_DISPATCHER_SEQUENCER_TABLE_SIZE = 10, // !< The size of the table holding commands in progress
1616
};
1717

0 commit comments

Comments
 (0)