Add static assert that number of commands does not exceed limit

pull/363/head
Jonathan G Rennison 2 years ago
parent 812933ffd4
commit fcc581fba9

@ -513,6 +513,8 @@ enum FlaggedCommands {
CMD_ID_MASK = 0x00FF, ///< mask for the command ID
};
static_assert(CMD_END <= CMD_ID_MASK + 1);
/**
* Command flags for the command table _command_proc_table.
*

Loading…
Cancel
Save