1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 16:25:26 +03:00

Fix build for KROOZX

This commit is contained in:
Marcelo Bezerra 2023-01-24 00:34:56 +01:00
parent ab50513ef8
commit c16bcf4709
No known key found for this signature in database
GPG key ID: 718A5AC065848530

View file

@ -22,16 +22,11 @@
#include "platform.h"
#ifdef USE_MSP_DISPLAYPORT
#ifndef DISABLE_MSP_BF_COMPAT
#if defined(USE_MSP_DISPLAYPORT) && !defined(DISABLE_MSP_BF_COMPAT)
#include "osd.h"
uint8_t getBfCharacter(uint8_t ch, uint8_t page);
#define isBfCompatibleVideoSystem(osdConfigPtr) (osdConfigPtr->video_system == VIDEO_SYSTEM_BFCOMPAT)
#else
#define getBfCharacter(x, page) (x)
#define isBfCompatibleVideoSystem(osdConfigPtr) (false)
#endif
#endif