1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-21 07:15:12 +03:00

ARM boards now allow 1 blade in Companion. Shift in Stock-9X EEPROM.

This commit is contained in:
bsongis 2014-03-31 09:58:28 +02:00
parent 1875785cf8
commit 7d5b876e27
14 changed files with 62 additions and 66 deletions

View file

@ -915,6 +915,15 @@ RawSource GeneralSettings::getDefaultSource(unsigned int channel)
return RawSource(SOURCE_TYPE_STICK, stick_index);
}
void FrSkyData::clear()
{
memset(this, 0, sizeof(FrSkyData));
rssiAlarms[0].clear(2, 45);
rssiAlarms[1].clear(3, 42);
varioSource = 2/*VARIO*/;
blades = 2;
}
ModelData::ModelData()
{
clear();