Moved PPM driver to synchronous mode (horus only)

TODO: trainer output and taranis driver
This commit is contained in:
Raphael Coeffic
2022-03-20 16:22:13 +01:00
parent a955112160
commit 937e92ede7
7 changed files with 120 additions and 85 deletions
+2 -1
View File
@@ -66,6 +66,7 @@ bool isForcePowerOffRequested()
return false;
}
// TODO: remove this!!!
bool isModuleSynchronous(uint8_t moduleIdx)
{
switch(moduleState[moduleIdx].protocol) {
@@ -83,7 +84,7 @@ bool isModuleSynchronous(uint8_t moduleIdx)
#if defined(INTMODULE_USART) || defined(EXTMODULE_USART)
case PROTOCOL_CHANNELS_PXX1_SERIAL:
#endif
// case PROTOCOL_CHANNELS_PPM:
case PROTOCOL_CHANNELS_PPM:
case PROTOCOL_CHANNELS_PXX1_PULSES:
#if defined(DSM2)
case PROTOCOL_CHANNELS_SBUS: