equal
deleted
inserted
replaced
278 if (!slave->sii.sync_count) { |
278 if (!slave->sii.sync_count) { |
279 // no mailbox protocols supported |
279 // no mailbox protocols supported |
280 ec_fsm_slave_config_enter_mbox_sync(fsm); |
280 ec_fsm_slave_config_enter_mbox_sync(fsm); |
281 return; |
281 return; |
282 } |
282 } |
|
283 |
|
284 if (slave->master->debug_level) |
|
285 EC_DBG("Clearing sync manager configurations of slave %u...\n", |
|
286 slave->ring_position); |
283 |
287 |
284 sync_size = EC_SYNC_PAGE_SIZE * slave->sii.sync_count; |
288 sync_size = EC_SYNC_PAGE_SIZE * slave->sii.sync_count; |
285 |
289 |
286 // clear sync manager configurations |
290 // clear sync manager configurations |
287 ec_datagram_fpwr(datagram, slave->station_address, 0x0800, sync_size); |
291 ec_datagram_fpwr(datagram, slave->station_address, 0x0800, sync_size); |