Fix for non certified firmware
This commit is contained in:
@@ -46,8 +46,8 @@ QString ModuleData::subTypeToString(int type) const
|
|||||||
static const char * strings[] = {
|
static const char * strings[] = {
|
||||||
"FCC",
|
"FCC",
|
||||||
"EU",
|
"EU",
|
||||||
"EU+",
|
"868MHz",
|
||||||
"AU+"
|
"915MHz"
|
||||||
};
|
};
|
||||||
|
|
||||||
if (type < 0)
|
if (type < 0)
|
||||||
|
|||||||
@@ -216,8 +216,8 @@ inline void SEND_FAILSAFE_1S()
|
|||||||
void setCustomFailsafe(uint8_t moduleIndex);
|
void setCustomFailsafe(uint8_t moduleIndex);
|
||||||
|
|
||||||
#if defined(PCBXLITE) && !defined(MODULE_R9M_FULLSIZE)
|
#if defined(PCBXLITE) && !defined(MODULE_R9M_FULLSIZE)
|
||||||
#define LEN_R9M_REGION "\003"
|
#define LEN_R9M_REGION "\006"
|
||||||
#define TR_R9M_REGION "FCC""EU\0""EU+""AU+"
|
#define TR_R9M_REGION "FCC\0 ""EU\0 ""868MHz""915MHz"
|
||||||
#define LEN_R9M_FCC_POWER_VALUES "\010"
|
#define LEN_R9M_FCC_POWER_VALUES "\010"
|
||||||
#define LEN_R9M_LBT_POWER_VALUES "\015"
|
#define LEN_R9M_LBT_POWER_VALUES "\015"
|
||||||
#define TR_R9M_FCC_POWER_VALUES "(100 mW)"
|
#define TR_R9M_FCC_POWER_VALUES "(100 mW)"
|
||||||
@@ -240,8 +240,8 @@ enum R9MLBTPowerValues {
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#define LEN_R9M_REGION "\003"
|
#define LEN_R9M_REGION "\006"
|
||||||
#define TR_R9M_REGION "FCC""EU\0""EU+""AU+"
|
#define TR_R9M_REGION "FCC\0 ""EU\0 ""868MHz""915MHz"
|
||||||
#define LEN_R9M_FCC_POWER_VALUES "\006"
|
#define LEN_R9M_FCC_POWER_VALUES "\006"
|
||||||
#define LEN_R9M_LBT_POWER_VALUES "\013"
|
#define LEN_R9M_LBT_POWER_VALUES "\013"
|
||||||
#define TR_R9M_FCC_POWER_VALUES "10 mW\0" "100 mW" "500 mW" "1 W\0"
|
#define TR_R9M_FCC_POWER_VALUES "10 mW\0" "100 mW" "500 mW" "1 W\0"
|
||||||
|
|||||||
Reference in New Issue
Block a user