1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 16:25:16 +03:00

PXX2 pulses now received on external module

This commit is contained in:
Bertrand Songis 2019-02-21 12:27:52 +01:00
parent 4b339bebbe
commit 9472fd2132
4 changed files with 21 additions and 8 deletions

View file

@ -211,11 +211,20 @@ void telemetryWakeup()
}
#endif
#if defined(INTMODULE_USART)
#if defined(INTMODULE_USART) || defined(EXTMODULE_USART)
uint8_t frame[32];
if (intmoduleFifo.getFrame(frame)) {
processModuleFrame(INTERNAL_MODULE, frame);
}
#if defined(INTMODULE_USART)
if (intmoduleFifo.getFrame(frame)) {
processModuleFrame(INTERNAL_MODULE, frame);
}
#endif
#if defined(EXTMODULE_USART)
if (extmoduleFifo.getFrame(frame)) {
processModuleFrame(EXTERNAL_MODULE, frame);
}
#endif
#endif
#if defined(STM32)