mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +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
|
@ -1095,7 +1095,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