Fixed compiler warnings
This commit is contained in:
parent
e625dcd3ab
commit
18145c9d47
|
@ -82,8 +82,7 @@ PG_RESET_TEMPLATE(imuConfig_t, imuConfig,
|
|||
.dcm_kp = 2500, // 1.0 * 10000
|
||||
.dcm_ki = 0, // 0.003 * 10000
|
||||
.small_angle = 25,
|
||||
.accDeadband.xy = 40,
|
||||
.accDeadband.z = 40,
|
||||
.accDeadband = {.xy = 40, .z= 40},
|
||||
.acc_unarmedcal = 1
|
||||
);
|
||||
|
||||
|
|
|
@ -804,7 +804,7 @@ void vtxSASetPitmode(uint8_t onoff)
|
|||
|
||||
saSetMode(newmode);
|
||||
|
||||
return true;
|
||||
return;
|
||||
}
|
||||
|
||||
bool vtxSAGetBandChan(uint8_t *pBand, uint8_t *pChan)
|
||||
|
@ -1137,9 +1137,9 @@ static CMS_Menu saCmsMenuStats = {
|
|||
.entries = saCmsMenuStatsEntries
|
||||
};
|
||||
|
||||
static OSD_TAB_t saCmsEntBand = { &saCmsBand, 5, vtx58BandNames, NULL };
|
||||
static OSD_TAB_t saCmsEntBand = { &saCmsBand, 5, vtx58BandNames };
|
||||
|
||||
static OSD_TAB_t saCmsEntChan = { &saCmsChan, 8, vtx58ChannelNames, NULL };
|
||||
static OSD_TAB_t saCmsEntChan = { &saCmsChan, 8, vtx58ChannelNames };
|
||||
|
||||
static const char * const saCmsPowerNames[] = {
|
||||
"---",
|
||||
|
|
|
@ -464,15 +464,15 @@ uint8_t trampCmsBand = 1;
|
|||
uint8_t trampCmsChan = 1;
|
||||
uint16_t trampCmsFreqRef;
|
||||
|
||||
static OSD_TAB_t trampCmsEntBand = { &trampCmsBand, 5, vtx58BandNames, NULL };
|
||||
static OSD_TAB_t trampCmsEntBand = { &trampCmsBand, 5, vtx58BandNames };
|
||||
|
||||
static OSD_TAB_t trampCmsEntChan = { &trampCmsChan, 8, vtx58ChannelNames, NULL };
|
||||
static OSD_TAB_t trampCmsEntChan = { &trampCmsChan, 8, vtx58ChannelNames };
|
||||
|
||||
static OSD_UINT16_t trampCmsEntFreqRef = { &trampCmsFreqRef, 5600, 5900, 0 };
|
||||
|
||||
static uint8_t trampCmsPower = 1;
|
||||
|
||||
static OSD_TAB_t trampCmsEntPower = { &trampCmsPower, 5, trampPowerNames, NULL };
|
||||
static OSD_TAB_t trampCmsEntPower = { &trampCmsPower, 5, trampPowerNames };
|
||||
|
||||
static void trampCmsUpdateFreqRef(void)
|
||||
{
|
||||
|
@ -526,7 +526,7 @@ static const char * const trampCmsPitmodeNames[] = {
|
|||
"---", "OFF", "ON "
|
||||
};
|
||||
|
||||
static OSD_TAB_t trampCmsEntPitmode = { &trampCmsPitmode, 2, trampCmsPitmodeNames, NULL };
|
||||
static OSD_TAB_t trampCmsEntPitmode = { &trampCmsPitmode, 2, trampCmsPitmodeNames };
|
||||
|
||||
static long trampCmsSetPitmode(displayPort_t *pDisp, const void *self)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue