# HG changeset patch # User Florian Pose # Date 1150880995 0 # Node ID 9c4ae9cb5d8d5cb7433ad04c0d4f421ad8cb29e8 # Parent ba51285d4ef6eaa78fe40692dbc398547940d715 Minor changes. diff -r ba51285d4ef6 -r 9c4ae9cb5d8d include/ecrt.h --- a/include/ecrt.h Tue Jun 20 14:40:04 2006 +0000 +++ b/include/ecrt.h Wed Jun 21 09:09:55 2006 +0000 @@ -145,6 +145,8 @@ * 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, diff -r ba51285d4ef6 -r 9c4ae9cb5d8d master/mailbox.c --- a/master/mailbox.c Tue Jun 20 14:40:04 2006 +0000 +++ b/master/mailbox.c Wed Jun 21 09:09:55 2006 +0000 @@ -79,7 +79,7 @@ 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;