[All] Code refactoring
- keys beep and haptic refactoring (not anymore audio events) - trims move/mid/min/max refactoring (trim end splitted to trim min / trim max) - S6R new alarms - S6R servos/rx status displayed as a text (not an integer which has no sense) - Timer countdown configuration - The splash was not displayed (but the timeout was there) after the first calibration
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//This file was auto-generated by generate_datacopy.py script on Fri Mar 25 14:26:09 2016. Do not edit this file!
|
||||
//This file was auto-generated by generate_datacopy.py script on Sat May 7 11:05:00 2016. Do not edit this file!
|
||||
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ void copyTimerData(A * dest, B * src)
|
||||
dest->countdownBeep = src->countdownBeep;
|
||||
dest->minuteBeep = src->minuteBeep;
|
||||
dest->persistent = src->persistent;
|
||||
dest->spare = src->spare;
|
||||
dest->countdownStart = src->countdownStart;
|
||||
}
|
||||
|
||||
template <class A, class B>
|
||||
@@ -192,6 +192,7 @@ void copyModuleData(A * dest, B * src)
|
||||
dest->channelsStart = src->channelsStart;
|
||||
dest->channelsCount = src->channelsCount;
|
||||
dest->failsafeMode = src->failsafeMode;
|
||||
dest->subType = src->subType;
|
||||
dest->invertedSerial = src->invertedSerial;
|
||||
memcpy(dest->failsafeChannels, src->failsafeChannels, sizeof(dest->failsafeChannels));
|
||||
copyModuleData_ppm(&dest->ppm, &src->ppm);
|
||||
@@ -344,3 +345,4 @@ void copyModuleData_ppm(A * dest, B * src)
|
||||
dest->outputType = src->outputType;
|
||||
dest->frameLength = src->frameLength;
|
||||
}
|
||||
|
||||
|
||||
@@ -59,8 +59,7 @@ void preModelLoad()
|
||||
void postModelLoad(bool newModel)
|
||||
{
|
||||
AUDIO_FLUSH();
|
||||
flightReset();
|
||||
logicalSwitchesReset();
|
||||
flightReset(false);
|
||||
|
||||
if (pulsesStarted()) {
|
||||
#if defined(GUI)
|
||||
|
||||
Reference in New Issue
Block a user