1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 05:45:31 +03:00

Fix compile warning on unused osdDisplayPort-

This commit is contained in:
Anders Hoglund 2017-04-01 18:35:01 +02:00
parent d74f7aed50
commit dfb219038f

View file

@ -435,7 +435,9 @@ void init(void)
rxInit();
#if ( defined(OSD) || (defined(USE_MSP_DISPLAYPORT) && defined(CMS)) )
displayPort_t *osdDisplayPort = NULL;
#endif
#ifdef OSD
//The OSD need to be initialised after GYRO to avoid GYRO initialisation failure on some targets