3djc/test (#7)

More modules support
This commit is contained in:
3djc
2019-03-14 17:51:59 +01:00
committed by Bertrand Songis
parent a59776a8e8
commit f7f1b1ff7b
27 changed files with 188 additions and 117 deletions
@@ -41,7 +41,7 @@ void intmoduleStop()
void intmodulePxxStart()
{
intmoduleSerialStart(INTMODULE_USART_PXX_BAUDRATE, false);
intmoduleSerialStart(INTMODULE_PXX_BAUDRATE, false);
}
void intmoduleSerialStart(uint32_t baudrate, uint8_t rxEnable)
@@ -138,8 +138,9 @@ void intmoduleSendNextFrame()
intmoduleSendBuffer(intmodulePulsesData.pxx2.getData(), intmodulePulsesData.pxx2.getSize());
break;
#endif
#if defined(PXX1)
case PROTOCOL_CHANNELS_PXX1:
case PROTOCOL_CHANNELS_PXX1_SERIAL:
intmoduleSendBuffer(intmodulePulsesData.pxx_uart.getData(), intmodulePulsesData.pxx_uart.getSize());
break;
#endif