fixing #221
This commit is contained in:
parent
b2a53d830c
commit
47ade2c139
|
@ -152,7 +152,7 @@ void sr5WriteData(ts_channel_s *tsChannel, const uint8_t * buffer, int size) {
|
|||
}
|
||||
}
|
||||
|
||||
int sr5ReadData(ts_channel_s *tsChannel, const uint8_t * buffer, int size) {
|
||||
int sr5ReadData(ts_channel_s *tsChannel, uint8_t * buffer, int size) {
|
||||
#if TS_UART_DMA_MODE && EFI_PROD_CODE
|
||||
UNUSED(tsChannel);
|
||||
return (int)chIQReadTimeout(&tsUartDma.fifoRxQueue, (uint8_t * )buffer, (size_t)size, SR5_READ_TIMEOUT);
|
||||
|
|
|
@ -101,6 +101,6 @@ void sr5WriteData(ts_channel_s *tsChannel, const uint8_t * buffer, int size);
|
|||
void sr5WriteCrcPacket(ts_channel_s *tsChannel, const uint8_t responseCode, const void *buf, const uint16_t size);
|
||||
void sr5SendResponse(ts_channel_s *tsChannel, ts_response_format_e mode, const uint8_t * buffer, int size);
|
||||
int sr5ReadData(ts_channel_s *tsChannel, uint8_t * buffer, int size);
|
||||
bool sr55IsReady(bool isConsoleRedirect);
|
||||
bool sr5IsReady(bool isConsoleRedirect);
|
||||
|
||||
#endif /* CONSOLE_TUNERSTUDIO_TUNERSTUDIO_IO_H_ */
|
||||
|
|
Loading…
Reference in New Issue