Fix NV14
This commit is contained in:
committed by
Raphael Coeffic
parent
0de678af57
commit
20b7ab677d
@@ -76,7 +76,7 @@ FlySkySettings::FlySkySettings(Window* parent, const FlexGridLayout& g,
|
|||||||
#if defined(AFHDS2) && defined(PCBNV14)
|
#if defined(AFHDS2) && defined(PCBNV14)
|
||||||
if (getNV14RfFwVersion() >= 0x1000E) {
|
if (getNV14RfFwVersion() >= 0x1000E) {
|
||||||
line = newLine(&grid);
|
line = newLine(&grid);
|
||||||
static const _rf_power = {"Default", "High"};
|
static const char* _rf_power[] = {"Default", "High"};
|
||||||
new StaticText(line, rect_t{}, STR_MULTI_RFPOWER);
|
new StaticText(line, rect_t{}, STR_MULTI_RFPOWER);
|
||||||
new Choice(line, rect_t{}, _rf_power, 0, 1,
|
new Choice(line, rect_t{}, _rf_power, 0, 1,
|
||||||
GET_DEFAULT(md->flysky.rfPower),
|
GET_DEFAULT(md->flysky.rfPower),
|
||||||
|
|||||||
@@ -43,6 +43,10 @@
|
|||||||
#include "flysky_settings.h"
|
#include "flysky_settings.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(AFHDS2)
|
||||||
|
#include "pulses/flysky.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(MULTIMODULE)
|
#if defined(MULTIMODULE)
|
||||||
#include "mpm_settings.h"
|
#include "mpm_settings.h"
|
||||||
#include "multi_rfprotos.h"
|
#include "multi_rfprotos.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user