Fixed EEPROM writing.
authorFlorian Pose <fp@igh-essen.com>
Tue, 31 Oct 2006 14:25:01 +0000
changeset 470 4ec31555832b
parent 469 a9c7991dca6b
child 471 0a6bd71bf4d3
Fixed EEPROM writing.
master/fsm.c
--- a/master/fsm.c	Tue Oct 31 11:12:50 2006 +0000
+++ b/master/fsm.c	Tue Oct 31 14:25:01 2006 +0000
@@ -418,6 +418,7 @@
 
             // found pending EEPROM write operation. execute it!
             EC_INFO("Writing EEPROM of slave %i...\n", slave->ring_position);
+            fsm->slave = slave;
             fsm->sii_offset = 0x0000;
             ec_fsm_sii_write(&fsm->fsm_sii, slave, fsm->sii_offset,
                              slave->new_eeprom_data, EC_FSM_SII_NODE);