Commit 629a65ef authored by Claes Sjofors's avatar Claes Sjofors

emon, changed to time function without assert

parent 14890c0d
......@@ -4353,7 +4353,7 @@ sendEventListToOutunit (
float df;
time_GetTime(&current);
time_Adiff( &dt, &current, &op->lastSentTime);
time_Adiff_NE( &dt, &current, &op->lastSentTime);
df = time_DToFloat( 0, &dt);
if ( df < 1)
return;
......@@ -5560,7 +5560,7 @@ static pwr_tStatus emon_redu_receive()
}
time_GetTime( &end_time);
time_Adiff( &dtime, &end_time, &start_time);
time_Adiff_NE( &dtime, &end_time, &start_time);
time_DToFloat( &l.redu->msg_time, &dtime);
if ( l.redu->packetp) {
l.redu->packetp->ReceiveCnt++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment