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:
commit
53151817e1
11 changed files with 39 additions and 41 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue