Commit b2db858f authored by Jean-Claude BAU's avatar Jean-Claude BAU

Apply annex J of the PTP standard for the PTP default values

Some default attribute values were not compliant with the PTP standard.
These default attribute values are used when :
- attributes are not defined in ppsi.conf file
- attribute values in ppsi.conf file are out of range
parent 672f53ca
......@@ -56,7 +56,7 @@
#define PP_DEFAULT_UTC_OFFSET 37
#define PP_MIN_PRIORITY1 0
#define PP_MAX_PRIORITY1 255
#define PP_DEFAULT_PRIORITY1 64
#define PP_DEFAULT_PRIORITY1 128
#define PP_MIN_PRIORITY2 0
#define PP_MAX_PRIORITY2 255
......
......@@ -28,6 +28,7 @@ struct pp_runtime_opts __pp_default_rt_opts = {
.gmDelayToGenPpsSec=PP_DEFAULT_GM_DELAY_TO_GEN_PPS_SEC,
.forcePpsGen= FALSE,
.ptpFallbackPpsGen=FALSE,
.slaveOnly=FALSE
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment