1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Refactored assertion in 'settings.c'.

This commit is contained in:
mikeller 2020-04-12 01:27:54 +12:00
parent 2101326a1d
commit af2e7ae831

View file

@ -1628,6 +1628,4 @@ const clivalue_t valueTable[] = {
const uint16_t valueTableEntryCount = ARRAYLEN(valueTable);
void settingsBuildCheck() {
STATIC_ASSERT(LOOKUP_TABLE_COUNT == ARRAYLEN(lookupTables), LOOKUP_TABLE_COUNT_incorrect);
}
STATIC_ASSERT(LOOKUP_TABLE_COUNT == ARRAYLEN(lookupTables), LOOKUP_TABLE_COUNT_incorrect);