优化波形逻辑,version 5.5

This commit is contained in:
zhangsheng 2025-04-09 17:59:13 +08:00
parent ab34dbd459
commit 402a7d6604
2 changed files with 2 additions and 2 deletions

View File

@ -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 = "";

View File

@ -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 {