master/slave_config.c
changeset 924 d8d9a1056afa
parent 923 a6b51990e7e6
child 925 939f3e9bba1e
equal deleted inserted replaced
923:a6b51990e7e6 924:d8d9a1056afa
   648                 "not byte-aligned.\n");
   648                 "not byte-aligned.\n");
   649         return -3;
   649         return -3;
   650     }
   650     }
   651 
   651 
   652     return sync_offset + bit_offset / 8;
   652     return sync_offset + bit_offset / 8;
       
   653 }
   653 
   654 
   654 
   655 
   655 /*****************************************************************************/
   656 /*****************************************************************************/
   656 
   657 
   657 int ecrt_slave_config_sdo(ec_slave_config_t *sc, uint16_t index,
   658 int ecrt_slave_config_sdo(ec_slave_config_t *sc, uint16_t index,