mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Unified BUILD_BUG_ON and STATIC_ASSERT into STATIC_ASSERT.
This commit is contained in:
parent
54dd79ac69
commit
70ac9423c7
10 changed files with 36 additions and 33 deletions
|
@ -1124,5 +1124,5 @@ const clivalue_t valueTable[] = {
|
|||
const uint16_t valueTableEntryCount = ARRAYLEN(valueTable);
|
||||
|
||||
void settingsBuildCheck() {
|
||||
BUILD_BUG_ON(LOOKUP_TABLE_COUNT != ARRAYLEN(lookupTables));
|
||||
STATIC_ASSERT(LOOKUP_TABLE_COUNT == ARRAYLEN(lookupTables), LOOKUP_TABLE_COUNT_incorrect);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue