1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 04:15:44 +03:00

Merge pull request #9690 from mikeller/cleanup_settings

Refactored assertion in 'settings.c'.
This commit is contained in:
Michael Keller 2020-07-05 21:09:17 +12:00 committed by GitHub
commit 1fbd113204
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1635,6 +1635,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);