-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn hard coded values into parameters. #36
base: master
Are you sure you want to change the base?
Conversation
Values affecting mode 1 and 2 of the standard PLL have been conveted to tunable parameters. The min and max values are far apart and may need to be tightened up. The scheduling delay in main_sim_client.c and the cut off for ancient packets in ntp_filter.c has veen turned into parameters too.
param_tbl.h
Outdated
PARAM_NTP_FILTER(ntp_filter_ancient, | ||
256, 4096, 2048, | ||
"Packet delays exceeding the average by this amount are too old." | ||
" Theese events are logged." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Theese/These/
param_tbl.h
Outdated
256, 4096, 2048, | ||
"Packet delays exceeding the average by this amount are too old." | ||
" Theese events are logged." | ||
" Setting this too high and the clock man become eratic." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably be "may become erratic"
param_tbl.h
Outdated
"Treshold for stepping clock at startup.\n\n" | ||
"Reducing this will step the clock at smaller errors." | ||
" Increasing this makes the PLL more tolerant and" | ||
" reduce the chance that the clock is stepped." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"reduces"
Fix spelling in param_tbl.h .
Values affecting mode 1 and 2 of the standard PLL have been converted to
tune-able parameters. The min and max values are far apart and may need to be
tightened up. The scheduling delay in main_sim_client.c and the cut off
for ancient packets in ntp_filter.c has veen turned into parameters too.