Skip to content
Snippets Groups Projects
Commit fe0eac31 authored by Florian Pose's avatar Florian Pose
Browse files

Minor changes.

parent 23ad81a4
No related branches found
No related tags found
No related merge requests found
......@@ -145,6 +145,8 @@ int ecrt_domain_state(ec_domain_t *domain);
* Slave Methods
*****************************************************************************/
/* there SDO functions are deprecated! */
int ecrt_slave_sdo_read_exp8(ec_slave_t *slave, uint16_t sdo_index,
uint8_t sdo_subindex, uint8_t *value);
int ecrt_slave_sdo_read_exp16(ec_slave_t *slave, uint16_t sdo_index,
......
......@@ -79,7 +79,7 @@ uint8_t *ec_slave_mbox_prepare_send(ec_slave_t *slave, /**< slave */
EC_WRITE_U16(command->data, size); // mailbox service data length
EC_WRITE_U16(command->data + 2, slave->station_address); // station address
EC_WRITE_U8 (command->data + 4, 0x00); // hhannel & priority
EC_WRITE_U8 (command->data + 4, 0x00); // channel & priority
EC_WRITE_U8 (command->data + 5, type); // underlying protocol type
return command->data + 6;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment