add code
This commit is contained in:
parent
621fdf21e9
commit
fb17301d09
@ -18,7 +18,7 @@ enum enumZigBeeTransmitStatus {
|
||||
|
||||
|
||||
//#define NR5G_MODULE
|
||||
//#define Q4G_MODULE
|
||||
#define Q4G_MODULE
|
||||
//#define WIFI_MODULE
|
||||
//#define NR5G_MEIGE
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ int GlobalConfig::LinkStatus_G = 0;
|
||||
int GlobalConfig::LinkCount = 0;
|
||||
int GlobalConfig::net0Status = 1;
|
||||
|
||||
std::string GlobalConfig::Version = "5.6";
|
||||
std::string GlobalConfig::Version = "5.6.1";
|
||||
std::string GlobalConfig::MacAddr_G = "";
|
||||
std::string GlobalConfig::MacAddr_G2 = "";
|
||||
std::string GlobalConfig::IpAddr_G = "";
|
||||
|
||||
@ -299,7 +299,11 @@ int SensorScheduler::GetNextDuration(int short_addr) {
|
||||
if (duration < 0 || duration > eigen_value_send_interval_) {
|
||||
zlog_warn(zct, "[Nxt] exception duration: %d", duration);
|
||||
duration = eigen_value_send_interval_;
|
||||
}else if (duration < 9){
|
||||
zlog_warn(zct, "[Nxt] exception duration: %d", duration);
|
||||
duration = 10;
|
||||
}
|
||||
|
||||
zlog_warn(zct, "[Nxt] [%d:%x] next duration is %d", id, short_addr, duration);
|
||||
return duration;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user