mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-22 10:03:51 +08:00
Avoided casting-away constness in expected working counter calculation.
This commit is contained in:
@@ -77,8 +77,6 @@ void ec_slave_config_init(
|
||||
ec_sync_config_init(&sc->sync_configs[i]);
|
||||
|
||||
sc->used_fmmus = 0;
|
||||
sc->used_for_fmmu_datagram[EC_DIR_INPUT] = 0;
|
||||
sc->used_for_fmmu_datagram[EC_DIR_OUTPUT] = 0;
|
||||
sc->dc_assign_activate = 0x0000;
|
||||
sc->dc_sync[0].cycle_time = 0x00000000;
|
||||
sc->dc_sync[1].cycle_time = 0x00000000;
|
||||
|
||||
Reference in New Issue
Block a user