Commit d5e4f3f6 authored by Franksen, Benjamin's avatar Franksen, Benjamin
Browse files

make ellsi_set_baudrate actually set the baudrate, not a constant

parent d266683a
......@@ -443,7 +443,7 @@ int ellsiConfigPort(int can_port, const char *ip_addr, int ip_port, int baudrate
/* initialize protocol */
ellsi_register(state);
/* configure baudrate */
ellsi_set_baudrate(state, 1000);
ellsi_set_baudrate(state, baudrate);
/* enable all CAN ids */
ellsi_add_can_ids(state);
/* install driver and initialize sci port */
......
Supports Markdown
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