Move ppm options in companion to substruct like in datastructs.h

This commit is contained in:
Arne Schwabe
2016-04-18 00:09:50 +02:00
parent d2923a32d3
commit e053f75b76
13 changed files with 107 additions and 105 deletions
+3 -3
View File
@@ -1380,9 +1380,9 @@ void ModelData::clear()
moduleData[0].channelsCount = 8;
moduleData[1].channelsStart = 0;
moduleData[1].channelsCount = 8;
moduleData[0].ppmDelay = 300;
moduleData[1].ppmDelay = 300;
moduleData[2].ppmDelay = 300;
moduleData[0].ppm.delay = 300;
moduleData[1].ppm.delay = 300;
moduleData[2].ppm.delay = 300;
int board = GetEepromInterface()->getBoard();
if (IS_TARANIS(board)) {
moduleData[0].protocol = PULSES_PXX_XJT_X16;