mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 01:35:21 +03:00
Compilation fix
This commit is contained in:
parent
74f2e8ae5d
commit
a830a968ec
2 changed files with 9 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
|||
* Copyright (C) OpenTX
|
||||
*
|
||||
* Based on code named
|
||||
* th9x - http://code.google.com/p/th9x
|
||||
* th9x - http://code.google.com/p/th9x
|
||||
* er9x - http://code.google.com/p/er9x
|
||||
* gruvin9x - http://code.google.com/p/gruvin9x
|
||||
*
|
||||
|
@ -60,7 +60,7 @@ enum EnumKeys
|
|||
KEY_PLUS = KEY_UP,
|
||||
KEY_RIGHT,
|
||||
KEY_LEFT,
|
||||
|
||||
|
||||
TRM_BASE,
|
||||
TRM_LH_DWN = TRM_BASE,
|
||||
TRM_LH_UP,
|
||||
|
@ -409,10 +409,7 @@ void telemetryPortInit(uint32_t baudrate, uint8_t mode);
|
|||
uint32_t telemetryTransmitPending();
|
||||
void telemetryTransmitBuffer(const uint8_t * buffer, uint32_t size);
|
||||
void rxPdcUsart( void (*pChProcess)(uint8_t x) );
|
||||
inline void sportSendBuffer(const uint8_t * buffer, uint32_t size)
|
||||
{
|
||||
telemetryTransmitBuffer(buffer, size);
|
||||
}
|
||||
void sportSendBuffer(const uint8_t * buffer, uint32_t size);
|
||||
|
||||
// Second UART driver
|
||||
void serial2TelemetryInit(unsigned int protocol);
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* Copyright (C) OpenTX
|
||||
*
|
||||
* Based on code named
|
||||
* th9x - http://code.google.com/p/th9x
|
||||
* th9x - http://code.google.com/p/th9x
|
||||
* er9x - http://code.google.com/p/er9x
|
||||
* gruvin9x - http://code.google.com/p/gruvin9x
|
||||
*
|
||||
|
@ -173,6 +173,11 @@ void telemetryPortInit(uint32_t baudrate, uint8_t mode)
|
|||
#endif
|
||||
}
|
||||
|
||||
void sportSendBuffer(const uint8_t * buffer, uint32_t size)
|
||||
{
|
||||
telemetryTransmitBuffer(buffer, size);
|
||||
}
|
||||
|
||||
void telemetryTransmitBuffer(const uint8_t * buffer, uint32_t size)
|
||||
{
|
||||
txPdcUsart(buffer, size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue