fix bugs,version 5.2
This commit is contained in:
parent
79f8e911fc
commit
8df900747b
@ -207,7 +207,7 @@ int SensorScheduler::GetNextDuration(int short_addr) {
|
|||||||
long current_ts = GetLocalTs();
|
long current_ts = GetLocalTs();
|
||||||
long next_ts = CalcNextTimestamp(id, short_addr);
|
long next_ts = CalcNextTimestamp(id, short_addr);
|
||||||
int duration = next_ts - current_ts;
|
int duration = next_ts - current_ts;
|
||||||
if (duration <= 0 || duration > eigen_value_send_interval_) {
|
if (duration <= 10 || duration > eigen_value_send_interval_) {
|
||||||
zlog_warn(zct, "[Nxt] exception duration: %d", duration);
|
zlog_warn(zct, "[Nxt] exception duration: %d", duration);
|
||||||
duration = eigen_value_send_interval_;
|
duration = eigen_value_send_interval_;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user