Use the correct slave-only clock class.

If we are going to be slave-only, then we should also advertise the
correct clock class.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2011-11-20 18:53:38 +01:00
parent 5f7facdc63
commit 2fd7a1c18f
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ int main(int argc, char *argv[])
ds.slaveOnly = TRUE; // TODO - make this programmable.
ds.priority1 = 128;
ds.clockQuality.clockClass = 248;
ds.clockQuality.clockClass = 255;
ds.clockQuality.clockAccuracy = 0xfe;
ds.clockQuality.offsetScaledLogVariance = 0xffff;
ds.priority2 = 128;