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:
parent
1875785cf8
commit
7d5b876e27
14 changed files with 62 additions and 66 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue