mirror of
https://github.com/pvvx/RTL00MP3.git
synced 2025-07-31 12:41:06 +00:00
delete '!!!'
This commit is contained in:
parent
de57c04fb4
commit
ed4c83a935
44 changed files with 206 additions and 187 deletions
|
|
@ -261,7 +261,7 @@ int uart_read(uart_socket_t *u, void *read_buf, size_t size)
|
|||
if(!u->rxoverlap){
|
||||
memcpy(ptr, (u->recv_buf+ pread_local), read_bytes );
|
||||
} else {
|
||||
uart_printf("uart recv buf is write through!!\n");
|
||||
uart_printf("uart recv buf is write through!\n");
|
||||
if((pread_local + read_bytes) > UART_RECV_BUFFER_LEN){
|
||||
memcpy(ptr,(u->recv_buf+ pread_local), (UART_RECV_BUFFER_LEN-pread_local));
|
||||
memcpy(ptr+(UART_RECV_BUFFER_LEN-pread_local), u->recv_buf, read_bytes-(UART_RECV_BUFFER_LEN- pread_local));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue