Rework of displaying supervisory info: NMT and AMPS
Using lower rate to show debug info of supervisory signal. Display supervisory info for NMT and AMPS at measurement display screen.
This commit is contained in:
parent
9454702944
commit
d058927e2d
|
@ -1,5 +1,6 @@
|
|||
#define DISPLAY_INTERVAL 0.04 /* time (in seconds) for each interval */
|
||||
#define DISPLAY_PARAM_HISTORIES 25 /* number of intervals (should result in one seconds) */
|
||||
#define DISPLAY_MEAS_INTERVAL 0.1 /* time (in seconds) for each measurement values interval */
|
||||
#define DISPLAY_INTERVAL 0.04 /* time (in seconds) for each other interval */
|
||||
#define DISPLAY_PARAM_HISTORIES 10 /* number of intervals (should result in one seconds) */
|
||||
|
||||
#define MAX_DISPLAY_WIDTH 1024
|
||||
|
||||
|
|
|
@ -347,9 +347,9 @@ void display_measurements(double elapsed)
|
|||
|
||||
/* count and check if we need to display this time */
|
||||
time_elapsed += elapsed;
|
||||
if (time_elapsed < DISPLAY_INTERVAL)
|
||||
if (time_elapsed < DISPLAY_MEAS_INTERVAL)
|
||||
return;
|
||||
time_elapsed = fmod(time_elapsed, DISPLAY_INTERVAL);
|
||||
time_elapsed = fmod(time_elapsed, DISPLAY_MEAS_INTERVAL);
|
||||
|
||||
print_measurements(1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue