mirror of
https://github.com/pvvx/RTL00MP3.git
synced 2026-07-05 02:55:41 +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));
|
||||
|
|
|
|||
|
|
@ -612,7 +612,7 @@ exit:
|
|||
//if anything goes wrong or transfer over,we kill ourself.
|
||||
if(error_bit || transfer_over){
|
||||
if(error_bit)
|
||||
printf("error!!! error bit = %d\r\n",error_bit);
|
||||
printf("error! error bit = %d\r\n",error_bit);
|
||||
else{
|
||||
printf(" [%s, %d Bytes] transfer_over!\r\n",ymodem_ptr->filename,ymodem_ptr->filelen);
|
||||
set_signature(ymodem_ptr);
|
||||
|
|
|
|||
|
|
@ -1057,7 +1057,7 @@ static u8_t ProcessPostMessage(struct netbuf *pxRxBuffer, portCHAR *LocalBuf)
|
|||
pcRxString = LocalBuf;
|
||||
p = pxRxBuffer->p;
|
||||
usLength = p->tot_len;
|
||||
//printf("\r\n !!!!!!!!!POST!p->tot_len =%d p->len=%d\n", p->tot_len, p->len);
|
||||
//printf("\r\n !POST!p->tot_len =%d p->len=%d\n", p->tot_len, p->len);
|
||||
while(p)
|
||||
{
|
||||
memcpy(pcRxString, p->payload, p->len);
|
||||
|
|
@ -1342,7 +1342,7 @@ void stop_web_server()
|
|||
netconn_delete(pxHTTPListener);
|
||||
pxHTTPListener = NULL;
|
||||
}
|
||||
printf("\r\nWEB: Take webs sema(%p) failed!!!!!!!!!!!\n", webs_sema);
|
||||
printf("\r\nWEB: Take webs sema(%p) failed!\n", webs_sema);
|
||||
}
|
||||
vSemaphoreDelete(webs_sema);
|
||||
webs_sema = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue