VxWorks: Pass interest level into osdClockReport
This commit is contained in:
committed by
Michael Davidsaver
parent
9efebb6d3d
commit
5b690d5467
@@ -120,7 +120,7 @@ void osdNTPReport(void)
|
||||
printf("NTP Server = %s\n", pserverAddr);
|
||||
}
|
||||
|
||||
void osdClockReport(void)
|
||||
void osdClockReport(int level)
|
||||
{
|
||||
const char * ntpTask;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user