Compilation error (thanks Jenkins)
This commit is contained in:
+4
-4
@@ -122,14 +122,14 @@ void varioWakeup()
|
||||
int varioFreq, varioDuration, varioPause=0;
|
||||
uint8_t varioFlags;
|
||||
|
||||
int verticalSpeed;
|
||||
int verticalSpeed = frskyData.hub.varioSpeed;
|
||||
|
||||
#if defined(PCBTARANIS)
|
||||
if (g_model.frsky.varioSource == VARIO_SOURCE_DTE) {
|
||||
#warning "Ele stick for vario tests"
|
||||
verticalSpeed = getValue(MIXSRC_Ele);
|
||||
}
|
||||
else {
|
||||
verticalSpeed = frskyData.hub.varioSpeed;
|
||||
}
|
||||
#endif
|
||||
|
||||
int varioCenterMin = (int)g_model.frsky.varioCenterMin * 10 - 50;
|
||||
int varioCenterMax = (int)g_model.frsky.varioCenterMax * 10 + 50;
|
||||
|
||||
Reference in New Issue
Block a user