main: setup access restrictions before initstepslew
This commit is contained in:
parent
08faca03b7
commit
46951b8598
1 changed files with 2 additions and 1 deletions
3
main.c
3
main.c
|
@ -144,7 +144,6 @@ post_init_ntp_hook(void *anything)
|
||||||
semblence of validity about it. */
|
semblence of validity about it. */
|
||||||
SRC_ReloadSources();
|
SRC_ReloadSources();
|
||||||
}
|
}
|
||||||
CNF_SetupAccessRestrictions();
|
|
||||||
|
|
||||||
RTC_StartMeasurements();
|
RTC_StartMeasurements();
|
||||||
RCL_StartRefclocks();
|
RCL_StartRefclocks();
|
||||||
|
@ -484,6 +483,8 @@ int main
|
||||||
/* From now on, it is safe to do finalisation on exit */
|
/* From now on, it is safe to do finalisation on exit */
|
||||||
initialised = 1;
|
initialised = 1;
|
||||||
|
|
||||||
|
CNF_SetupAccessRestrictions();
|
||||||
|
|
||||||
if (ref_mode == REF_ModeNormal && CNF_GetInitSources() > 0) {
|
if (ref_mode == REF_ModeNormal && CNF_GetInitSources() > 0) {
|
||||||
ref_mode = REF_ModeInitStepSlew;
|
ref_mode = REF_ModeInitStepSlew;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue