lib/master.c
changeset 1777 a93fc03eeb06
parent 1611 7c49cd56f96f
child 1804 742607c464c4
equal deleted inserted replaced
1776:65786b1d3043 1777:a93fc03eeb06
   154     slave_info->current_on_ebus = data.current_on_ebus;
   154     slave_info->current_on_ebus = data.current_on_ebus;
   155     slave_info->al_state = data.al_state;
   155     slave_info->al_state = data.al_state;
   156     slave_info->error_flag = data.error_flag;
   156     slave_info->error_flag = data.error_flag;
   157     slave_info->sync_count = data.sync_count;
   157     slave_info->sync_count = data.sync_count;
   158     slave_info->sdo_count = data.sdo_count;
   158     slave_info->sdo_count = data.sdo_count;
   159     strncpy(slave_info->name, data.name, EC_IOCTL_STRING_SIZE);
   159     strncpy(slave_info->name, data.name, EC_MAX_STRING_LENGTH);
   160     return 0;
   160     return 0;
   161 }
   161 }
   162 
   162 
   163 /*****************************************************************************/
   163 /*****************************************************************************/
   164 
   164