added some more debug to RS485 on Linux
This commit is contained in:
@@ -613,7 +613,7 @@ void RS485_Initialize(
|
|||||||
/* if all goes well, set new divisor */
|
/* if all goes well, set new divisor */
|
||||||
ioctl(RS485_Handle, TIOCSSERIAL, &newserial);
|
ioctl(RS485_Handle, TIOCSSERIAL, &newserial);
|
||||||
}
|
}
|
||||||
|
printf(" at Baud Rate %u", RS485_Get_Baud_Rate());
|
||||||
/* destructor */
|
/* destructor */
|
||||||
atexit(RS485_Cleanup);
|
atexit(RS485_Cleanup);
|
||||||
/* flush any data waiting */
|
/* flush any data waiting */
|
||||||
|
|||||||
Reference in New Issue
Block a user