Give the frequency estimation interval to the port as well.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2012-08-31 15:54:26 +02:00
parent c06f3adc84
commit f86997185e
2 changed files with 4 additions and 1 deletions

View File

@ -195,8 +195,10 @@ static void scan_global_line(const char *s, struct config *cfg)
} else if (1 == sscanf(s, " freq_est_interval %d", &val)) { } else if (1 == sscanf(s, " freq_est_interval %d", &val)) {
if (val >= 0) if (val >= 0) {
dds->freq_est_interval = val; dds->freq_est_interval = val;
pod->freq_est_interval = val;
}
} else if (1 == sscanf(s, " assume_two_step %u", &val)) { } else if (1 == sscanf(s, " assume_two_step %u", &val)) {

1
ds.h
View File

@ -89,6 +89,7 @@ struct port_defaults {
UInteger8 transportSpecific; UInteger8 transportSpecific;
int path_trace_enabled; int path_trace_enabled;
int follow_up_info; int follow_up_info;
int freq_est_interval; /*log seconds*/
}; };
#endif #endif