Commit c2466ef4 authored by Teuniz's avatar Teuniz

Adapt the demo sourcecode to the extra argument for RS232_OpenComport().

parent 5f04caf7
......@@ -34,7 +34,7 @@ int main()
char mode[]={'8','N','1',0};
if(RS232_OpenComport(cport_nr, bdrate, mode))
if(RS232_OpenComport(cport_nr, bdrate, mode, 0))
{
printf("Can not open comport\n");
......
......@@ -37,7 +37,7 @@ int main()
strcpy(str[1], "Happy serial programming!\n");
if(RS232_OpenComport(cport_nr, bdrate, mode))
if(RS232_OpenComport(cport_nr, bdrate, mode, 0))
{
printf("Can not open comport\n");
......
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