1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

Merge pull request #6430 from mikeller/remove_duplicate_build_bug_on

Removed 'BUILD_BUG_ON'.
This commit is contained in:
Michael Keller 2018-08-22 18:49:45 +12:00 committed by GitHub
commit 53151817e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 39 additions and 41 deletions

View file

@ -1119,7 +1119,7 @@ void osdInit(displayPort_t *osdDisplayPortToUse)
return;
}
BUILD_BUG_ON(OSD_POS_MAX != OSD_POS(31,31));
STATIC_ASSERT(OSD_POS_MAX == OSD_POS(31,31), OSD_POS_MAX_incorrect);
osdDisplayPort = osdDisplayPortToUse;
#ifdef USE_CMS