Resolve two sets of repeated warnings when built with VS2019 (#8358)

This commit is contained in:
Ruddy
2021-04-05 18:02:24 +02:00
committed by GitHub
parent 978772b168
commit 39ceda51ef
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -20,11 +20,11 @@
#include "opentx.h"
#define HAS_TOPBAR() (persistentData->options[0].boolValue == true)
#define HAS_FM() (persistentData->options[1].boolValue == true)
#define HAS_SLIDERS() (persistentData->options[2].boolValue == true)
#define HAS_TRIMS() (persistentData->options[3].boolValue == true)
#define IS_MIRRORED() (persistentData->options[4].boolValue == true)
#define HAS_TOPBAR() (OPTION_VALUE_BOOL(persistentData->options[0].boolValue) == true)
#define HAS_FM() (OPTION_VALUE_BOOL(persistentData->options[1].boolValue) == true)
#define HAS_SLIDERS() (OPTION_VALUE_BOOL(persistentData->options[2].boolValue) == true)
#define HAS_TRIMS() (OPTION_VALUE_BOOL(persistentData->options[3].boolValue) == true)
#define IS_MIRRORED() (OPTION_VALUE_BOOL(persistentData->options[4].boolValue) == true)
const uint8_t LBM_LAYOUT_4P2[] = {
#include "mask_layout4+2.lbm"