This commit is contained in:
rusefi 2017-05-23 15:53:31 -04:00
parent b2a53d830c
commit 47ade2c139
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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_ */