mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-03 00:28:26 +02:00
b34df2727a
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33691 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
428 B
Diff
15 lines
428 B
Diff
--- a/src/Reporter.c
|
|
+++ b/src/Reporter.c
|
|
@@ -308,6 +308,11 @@ ReportHeader* InitReport( thread_Setting
|
|
#else
|
|
// set start time
|
|
gettimeofday( &(reporthdr->report.startTime), NULL );
|
|
+
|
|
+ // set next time
|
|
+ reporthdr->report.nextTime = reporthdr->report.startTime;
|
|
+ TimeAdd( reporthdr->report.nextTime, reporthdr->report.intervalTime );
|
|
+
|
|
/*
|
|
* Process the report in this thread
|
|
*/
|