master/master.c
changeset 1245 9f52fc9562ae
parent 1241 794cbccdcd00
child 1250 642048176899
equal deleted inserted replaced
1244:0b70040d3daa 1245:9f52fc9562ae
  1441         }
  1441         }
  1442 
  1442 
  1443         ec_slave_config_init(sc, master,
  1443         ec_slave_config_init(sc, master,
  1444                 alias, position, vendor_id, product_code);
  1444                 alias, position, vendor_id, product_code);
  1445 
  1445 
  1446 
       
  1447         down(&master->master_sem);
  1446         down(&master->master_sem);
  1448 
  1447 
  1449         // try to find the addressed slave
  1448         // try to find the addressed slave
  1450         ec_slave_config_attach(sc);
  1449         ec_slave_config_attach(sc);
  1451         ec_slave_config_load_default_sync_config(sc);
  1450         ec_slave_config_load_default_sync_config(sc);