enter racing mode by spec function

This commit is contained in:
WismyYao
2021-01-30 13:39:09 +08:00
parent a933903e6b
commit 744bcab0b9
22 changed files with 61 additions and 23 deletions
+3 -2
View File
@@ -526,10 +526,11 @@ void setCustomFailsafe(uint8_t moduleIndex)
g_model.failsafeChannels[ch] = channelOutputs[ch];
}
}
storageDirty(EE_MODEL);
}
}
int32_t getChannelValue(uint8_t channel) {
int32_t getChannelValue(uint8_t channel)
{
return channelOutputs[channel] + 2*PPM_CH_CENTER(channel) - 2*PPM_CENTER;
}