Made data pointer in ec_fsm_sii_write() const.
--- a/master/fsm_sii.c Thu Mar 01 15:03:08 2007 +0000
+++ b/master/fsm_sii.c Thu Mar 01 21:23:07 2007 +0000
@@ -105,7 +105,7 @@
void ec_fsm_sii_write(ec_fsm_sii_t *fsm, /**< finite state machine */
ec_slave_t *slave, /**< slave to read from */
uint16_t offset, /**< offset to read from */
- uint16_t *value, /**< pointer to 2 bytes of data */
+ const uint16_t *value, /**< pointer to 2 bytes of data */
ec_fsm_sii_addressing_t mode /**< addressing scheme */
)
{
--- a/master/fsm_sii.h Thu Mar 01 15:03:08 2007 +0000
+++ b/master/fsm_sii.h Thu Mar 01 21:23:07 2007 +0000
@@ -84,8 +84,8 @@
void ec_fsm_sii_read(ec_fsm_sii_t *, ec_slave_t *,
uint16_t, ec_fsm_sii_addressing_t);
-void ec_fsm_sii_write(ec_fsm_sii_t *, ec_slave_t *, uint16_t, uint16_t *,
- ec_fsm_sii_addressing_t);
+void ec_fsm_sii_write(ec_fsm_sii_t *, ec_slave_t *, uint16_t,
+ const uint16_t *, ec_fsm_sii_addressing_t);
int ec_fsm_sii_exec(ec_fsm_sii_t *);
int ec_fsm_sii_success(ec_fsm_sii_t *);