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:
parent
4b339bebbe
commit
9472fd2132
4 changed files with 21 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue