Please Travis

This commit is contained in:
3djc
2021-02-05 13:17:54 +01:00
parent f7d17b715c
commit b78b457234
2 changed files with 3 additions and 3 deletions
+3 -1
View File
@@ -483,7 +483,9 @@ bool setupPulsesInternalModule(uint8_t protocol)
void stopPulsesInternalModule() void stopPulsesInternalModule()
{ {
intmoduleStop(); intmoduleStop();
moduleState[INTERNAL_MODULE].protocol = PROTOCOL_CHANNELS_NONE; if (pulsesStarted()) {
moduleState[INTERNAL_MODULE].protocol = PROTOCOL_CHANNELS_NONE;
}
} }
bool setupPulsesInternalModule() bool setupPulsesInternalModule()
-2
View File
@@ -53,13 +53,11 @@ void preModelLoad()
} }
pauseMixerCalculations(); pauseMixerCalculations();
#if !defined(SIMU)
#if defined(HARDWARE_INTERNAL_MODULE) #if defined(HARDWARE_INTERNAL_MODULE)
stopPulsesInternalModule(); stopPulsesInternalModule();
#endif #endif
#if defined(HARDWARE_EXTERNAL_MODULE) #if defined(HARDWARE_EXTERNAL_MODULE)
stopPulsesExternalModule(); stopPulsesExternalModule();
#endif
#endif #endif
stopTrainer(); stopTrainer();