Cleaned up C++ comments

This commit is contained in:
skarg
2010-05-04 21:01:48 +00:00
parent 7b015706b7
commit 74be776295
3 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -1685,8 +1685,8 @@ void trend_log_timer(
* we don't miss a reading if we aren't called at the precise second
* when the match occurrs.
*/
// if(((tNow % CurrentLog->ulLogInterval) >= (CurrentLog->ulIntervalOffset % CurrentLog->ulLogInterval)) &&
// ((tNow - CurrentLog->tLastDataTime) >= CurrentLog->ulLogInterval)) {
/* if(((tNow % CurrentLog->ulLogInterval) >= (CurrentLog->ulIntervalOffset % CurrentLog->ulLogInterval)) && */
/* ((tNow - CurrentLog->tLastDataTime) >= CurrentLog->ulLogInterval)) { */
if((tNow % CurrentLog->ulLogInterval) == (CurrentLog->ulIntervalOffset % CurrentLog->ulLogInterval)) {
/* Record value if time synchronised trigger condition is met
* and at least one period has elapsed.