BT Flash timeout increased
This commit is contained in:
@@ -642,6 +642,7 @@ void telemetryPortSetDirectionInput(void);
|
||||
void telemetryPortSetDirectionOutput(void);
|
||||
void sportSendByte(uint8_t byte);
|
||||
void sportSendByteLoop(uint8_t byte);
|
||||
void sportStopSendByteLoop();
|
||||
void sportSendBuffer(const uint8_t * buffer, uint32_t count);
|
||||
uint8_t telemetryGetByte(uint8_t * byte);
|
||||
void telemetryClearFifo();
|
||||
|
||||
@@ -103,6 +103,12 @@ void sportSendByte(uint8_t byte)
|
||||
USART_SendData(TELEMETRY_USART, byte);
|
||||
}
|
||||
|
||||
void sportStopSendByteLoop()
|
||||
{
|
||||
DMA_Cmd(TELEMETRY_DMA_Stream_TX, DISABLE);
|
||||
DMA_DeInit(TELEMETRY_DMA_Stream_TX);
|
||||
}
|
||||
|
||||
void sportSendByteLoop(uint8_t byte)
|
||||
{
|
||||
telemetryPortSetDirectionOutput();
|
||||
|
||||
Reference in New Issue
Block a user