Taranis internal module fix
This commit is contained in:
+7
-2
@@ -75,7 +75,7 @@ bool isForcePowerOffRequested()
|
||||
|
||||
bool isProtocolSynchronous(uint8_t protocol)
|
||||
{
|
||||
return (protocol == PROTOCOL_CHANNELS_PXX2 || protocol == PROTOCOL_CHANNELS_NONE);
|
||||
return (protocol == PROTOCOL_CHANNELS_PXX2 || protocol == PROTOCOL_CHANNELS_CROSSFIRE || protocol == PROTOCOL_CHANNELS_NONE);
|
||||
}
|
||||
|
||||
void sendSynchronousPulses()
|
||||
@@ -83,7 +83,12 @@ void sendSynchronousPulses()
|
||||
for (uint8_t module = 0; module < NUM_MODULES; module++) {
|
||||
uint8_t protocol = moduleSettings[module].protocol;
|
||||
if (isProtocolSynchronous(protocol) && setupPulses(module)) {
|
||||
intmoduleSendNextFrame();
|
||||
if (module == INTERNAL_MODULE) {
|
||||
intmoduleSendNextFrame();
|
||||
}
|
||||
else {
|
||||
// TODO
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user