diff --git a/TODO b/TODO index 0ecae307..da3bf419 100644 --- a/TODO +++ b/TODO @@ -27,7 +27,6 @@ Version 1.5.0: * Output warning when send_ext() is called in illegal context. * Output hexadecimal values in 'ethercat xml'. * Add native drivers from 2.6.24 up to 2.6.31. -* Reset al_states on link down. * Implement indent in 'ethercat ma' * Add master index to log messages. * Implement 0xXXXX:YY format for specifying SDOs. diff --git a/master/fsm_master.c b/master/fsm_master.c index c17a3adb..e5c1cb16 100644 --- a/master/fsm_master.c +++ b/master/fsm_master.c @@ -208,6 +208,7 @@ void ec_fsm_master_state_broadcast( ec_master_clear_eoe_handlers(master); #endif ec_master_clear_slaves(master); + fsm->slave_states = 0x00; } fsm->link_state = master->main_device.link_state;