Commit ecb26dd4 authored by jdelange's avatar jdelange
Browse files

* Fix compilation issues with the serial.raw driver



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@2542 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent aeb76ed2
......@@ -394,7 +394,7 @@ void __po_hi_c_driver_serial_linux_init (__po_hi_device_id id)
* CREAD : enable receiving characters
*/
newtio.c_cflag = __PO_HI_DRIVER_SERIAL_COMMON_CONVERT_SPEED_TO_POSIX | CRTSCTS | CS8 | CLOCAL | CREAD;
newtio.c_cflag = CRTSCTS | CS8 | CLOCAL | CREAD;
switch (__po_hi_c_driver_serial_common_get_speed (id))
{
......
......@@ -27,7 +27,6 @@
int __po_hi_c_driver_serial_common_get_speed (const __po_hi_device_id id)
{
char* conf;
__po_hi_c_serial_conf_t* serialconf;
serialconf = (__po_hi_c_serial_conf_t*)__po_hi_get_device_configuration (id);
......
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