3 * This file is part of INAV Project.
5 * INAV is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * Cleanflight is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
25 #if defined(USE_OSD) && defined(USE_MSP_DISPLAYPORT) && !defined(DISABLE_MSP_DJI_COMPAT)
27 uint8_t getDJICharacter(uint8_t ch
, uint8_t page
);
28 #define isDJICompatibleVideoSystem(osdConfigPtr) (osdConfigPtr->video_system == VIDEO_SYSTEM_DJICOMPAT || osdConfigPtr->video_system == VIDEO_SYSTEM_DJICOMPAT_HD)
30 #define getDJICharacter(x, page) (x)
32 #define isDJICompatibleVideoSystem(osdConfigPtr) (true)
34 #define isDJICompatibleVideoSystem(osdConfigPtr) (false)