Changeset 5909:dc9fdf2f6793 in roaraudio


Ignore:
Timestamp:
09/03/13 11:08:19 (6 years ago)
Author:
phi
Branch:
default
Message:

get i2cdmx driver to work with test hardware

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/driver_i2cdmx.c

    r5908 r5909  
    134134 // test for device overall status 
    135135 ret = __i2c_read(self, ADDR_IFVERSION); 
    136  __check_response(ret, ret & 0x01, ROAR_ERROR_NSVERSION); 
     136// __check_response(ret, ret & 0x01, ROAR_ERROR_BADSTATE); 
    137137 
    138138 // Request device infos 
     
    188188 } else { 
    189189  // the device doesn't exist. We guss it is in form $device/$slaveid. 
    190   roar_mm_strlcat(filename, device, sizeof(filename)); 
     190  strncpy(filename, device, sizeof(filename)); 
    191191  p = strrchr(filename, '/'); 
    192192  if ( p == NULL ) { 
Note: See TracChangeset for help on using the changeset viewer.