Commit 1e95fca6 authored by Donald Chen's avatar Donald Chen

hwfc

parent 3f9cb4de
......@@ -228,7 +228,7 @@ static adapter_t * adapter_init(char * serial_port, uint32_t baud_rate)
phy = sd_rpc_physical_layer_create_uart(serial_port,
baud_rate,
SD_RPC_FLOW_CONTROL_NONE,
SD_RPC_FLOW_CONTROL_HARDWARE,
SD_RPC_PARITY_NONE);
data_link_layer = sd_rpc_data_link_layer_create_bt_three_wire(phy, 500);
transport_layer = sd_rpc_transport_layer_create(data_link_layer, 500);
......
......@@ -195,7 +195,7 @@ static adapter_t * adapter_init(char * serial_port, uint32_t baud_rate)
phy = sd_rpc_physical_layer_create_uart(serial_port,
baud_rate,
SD_RPC_FLOW_CONTROL_NONE,
SD_RPC_FLOW_CONTROL_HARDWARE,
SD_RPC_PARITY_NONE);
data_link_layer = sd_rpc_data_link_layer_create_bt_three_wire(phy, 500);
transport_layer = sd_rpc_transport_layer_create(data_link_layer, 500);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment