Changeset 5471507 in multiio


Ignore:
Timestamp:
Dec 11, 2009, 9:00:45 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
master
Children:
217770e
Parents:
2e9b49f
Message:

2009-12-11 Joel Sherrill <joel.sherrill@…>

  • mio_io_rtems.c: Ensure mio_error_code is properly initialized to MIO_SUCCESS.
Location:
pcmmio/original
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pcmmio/original/ChangeLog

    r2e9b49f r5471507  
     12009-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * mio_io_rtems.c: Ensure mio_error_code is properly initialized to
     4        MIO_SUCCESS.
     5
    162009-12-11      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • pcmmio/original/mio_io_rtems.c

    r2e9b49f r5471507  
    320320unsigned short adc_read_conversion_data(int channel)
    321321{
    322 int adc_num;
     322  int adc_num;
    323323
    324324  mio_error_code = MIO_SUCCESS;
     
    343343)
    344344{
     345  mio_error_code = MIO_SUCCESS;
     346
    345347  if (check_handle())   /* Check for chip available */
    346348    return -1;
     
    351353int dio_get_int(void)
    352354{
     355  mio_error_code = MIO_SUCCESS;
     356
    353357  return dio_get_int_with_timestamp(NULL);
    354358}
     
    357361{
    358362  int sc;
     363
     364  mio_error_code = MIO_SUCCESS;
    359365
    360366  if (check_handle())   /* Check for chip available */
     
    379385  int sc;
    380386
     387  mio_error_code = MIO_SUCCESS;
     388
    381389  if (check_handle())   /* Check for chip available */
    382390    return -1;
     
    404412  din_message_t      din;
    405413  size_t             received;
     414
     415  mio_error_code = MIO_SUCCESS;
    406416
    407417  if (check_handle())   /* Check for chip available */
Note: See TracChangeset for help on using the changeset viewer.