VxWorks: Pass interest level into osdClockReport

This commit is contained in:
Andrew Johnson
2022-06-15 17:58:39 -05:00
committed by Michael Davidsaver
parent 9efebb6d3d
commit 5b690d5467
3 changed files with 3 additions and 3 deletions
@@ -120,7 +120,7 @@ void osdNTPReport(void)
printf("NTP Server = %s\n", pserverAddr);
}
void osdClockReport(void)
void osdClockReport(int level)
{
const char * ntpTask;
+1 -1
View File
@@ -23,7 +23,7 @@ extern "C" {
void osdNTPInit(void);
int osdNTPGet(struct timespec *);
void osdNTPReport(void);
void osdClockReport(void);
void osdClockReport(int level);
#define osdTickRateGet sysClkRateGet
#define osdTickGet tickGet
+1 -1
View File
@@ -308,7 +308,7 @@ int ClockTime_Report(int level)
printf("OS Clock synchronization thread is not running.\n");
}
#ifdef osdClockReport
osdClockReport();
osdClockReport(level);
#endif
return 0;
}