mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-13 03:19:58 +03:00
Merge pull request #8729 from mmosca/fix-build
Fix build error in osd.c when USE_MSP_DISPLAYPORT is not defined.
This commit is contained in:
commit
aa8fcc2991
1 changed files with 1 additions and 6 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue