mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2025-07-31 20:31:05 +00:00
add set mac, cmsis-dap load sdram, ...
This commit is contained in:
parent
0830a1244a
commit
b381813514
27 changed files with 255 additions and 88 deletions
|
|
@ -284,10 +284,10 @@ int uartadapter_uart_open(ua_socket_t *ua_socket, ua_uart_set_str *puartpara)
|
|||
#define txflow UA_UART_CTS_PIN
|
||||
if(puartpara->FlowControl){
|
||||
pin_mode(txflow, PullDown); // init CTS in low
|
||||
serial_set_flow_control(&ua_socket->uart.uart_sobj, FlowControlRTSCTS, rxflow, txflow);
|
||||
serial_set_flow_control(&ua_socket->uart.uart_sobj, FlowControlRTSCTS);//, rxflow, txflow);
|
||||
}
|
||||
else
|
||||
serial_set_flow_control(&ua_socket->uart.uart_sobj, FlowControlNone, rxflow, txflow);
|
||||
serial_set_flow_control(&ua_socket->uart.uart_sobj, FlowControlNone);//, rxflow, txflow);
|
||||
//---------------------------- add Flow
|
||||
|
||||
/*uart irq handle*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue