Minor changes.
authorFlorian Pose <fp@igh-essen.com>
Wed, 21 Jun 2006 09:09:55 +0000 (2006-06-21)
changeset 276 9c4ae9cb5d8d
parent 275 ba51285d4ef6
child 277 b9fef58af86e
Minor changes.
include/ecrt.h
master/mailbox.c
--- 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,
--- 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;