Commit 3a07790a authored by jdelange's avatar jdelange

* include/drivers/po_hi_driver_linux_serial.h

   src/drivers/po_hi_driver_linux_serial.c
    - Fix serial driver compilation issue



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@4924 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent e94aabec
......@@ -13,7 +13,8 @@
#ifndef __PO_HI_DRIVER_LINUX_SERIAL_H__
#define __PO_HI_DRIVER_LINUX_SERIAL_H__
#ifdef __PO_HI_NEED_DRIVER_SERIAL_LINUX
#if defined (__PO_HI_NEED_DRIVER_SERIAL_LINUX) || \
defined (__PO_HI_NEED_DRIVER_SERIAL_LINUX_SENDER)
void __po_hi_c_driver_serial_linux_poller (const __po_hi_device_id dev_id);
......
......@@ -342,7 +342,6 @@ int __po_hi_c_driver_serial_linux_sender (__po_hi_task_id task_id, __po_hi_port
if (po_hi_c_driver_serial_sending_wait != 0)
{
printf("Wait %u between two sends\n", po_hi_c_driver_serial_sending_wait);
for (n = 0 ; n < __PO_HI_MESSAGES_MAX_SIZE ; n++)
{
write (po_hi_c_driver_serial_fd_write, &(__po_hi_c_driver_serial_linux_sender_msg.content[n]), 1);
......
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