Skip to content

Commit

Permalink
updated csp_usart_open_and_add_kiss_interface parament in example/csp…
Browse files Browse the repository at this point in the history
…_server_client.c
  • Loading branch information
Apaisal committed Sep 22, 2024
1 parent 95dce86 commit ee8725a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/csp_server_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ csp_iface_t * add_interface(enum DeviceType device_type, const char * device_nam
.stopbits = 1,
.paritysetting = 0,
};
int error = csp_usart_open_and_add_kiss_interface(&conf, CSP_IF_KISS_DEFAULT_NAME, &default_iface);
int error = csp_usart_open_and_add_kiss_interface(&conf, CSP_IF_KISS_DEFAULT_NAME, server_address, &default_iface);
if (error != CSP_ERR_NONE) {
csp_print("failed to add KISS interface [%s], error: %d\n", device_name, error);
exit(1);
Expand Down

0 comments on commit ee8725a

Please sign in to comment.