config: Sim time source
This commit is contained in:
parent
09ffbd21b0
commit
7a51c6a5b7
|
|
@ -523,7 +523,7 @@ int facilities_config() {
|
||||||
mrep->data->choice.attributes.clockType &&
|
mrep->data->choice.attributes.clockType &&
|
||||||
mrep->data->choice.attributes.clockOffset) {
|
mrep->data->choice.attributes.clockOffset) {
|
||||||
|
|
||||||
itss_epv_init(*mrep->data->choice.attributes.clockType, TIME_MILLISECONDS);
|
itss_epv_init(*mrep->data->choice.attributes.clockType, TIME_MILLISECONDS, itss_cfg->time.simulated.source);
|
||||||
|
|
||||||
asn_INTEGER2uint64(mrep->data->choice.attributes.clockOffset, &epv.time.offset);
|
asn_INTEGER2uint64(mrep->data->choice.attributes.clockOffset, &epv.time.offset);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue