diff --git a/platform/platform_init.cpp b/platform/platform_init.cpp index 5cbd07b..e591ef0 100644 --- a/platform/platform_init.cpp +++ b/platform/platform_init.cpp @@ -14,7 +14,7 @@ int GlobalConfig::LinkStatus_G = 0; int GlobalConfig::LinkCount = 0; int GlobalConfig::net0Status = 1; -std::string GlobalConfig::Version = "5.4"; +std::string GlobalConfig::Version = "5.5"; std::string GlobalConfig::MacAddr_G = ""; std::string GlobalConfig::MacAddr_G2 = ""; std::string GlobalConfig::IpAddr_G = ""; diff --git a/scheduler/schedule.cpp b/scheduler/schedule.cpp index 4fa9ee5..1ca5717 100644 --- a/scheduler/schedule.cpp +++ b/scheduler/schedule.cpp @@ -42,7 +42,7 @@ int SensorScheduler::StartSchedule(int short_addr, int &next_duration) { if (ts_in_eigen_slice_) { nth_eigen_slice_ = (seconds_in_current_eigen_slice_ + 2) / eigen_value_send_duration_; - if (nth_eigen_value_slice_ == 0 && nth_eigen_slice_ == 0) { + if (nth_eigen_value_slice_ == 0) { ClearFailureSuccessMap(); } } else {