fix bugs
This commit is contained in:
parent
cbfc5b2794
commit
011201a6c7
@ -170,7 +170,7 @@ void Uart::WriteTranTimeout2Zigbee(unsigned char Time) {
|
|||||||
|
|
||||||
unsigned short tmp = GlobalConfig::Zigbee_G.MyAddr;
|
unsigned short tmp = GlobalConfig::Zigbee_G.MyAddr;
|
||||||
GlobalConfig::Zigbee_G.PowerLevel = 0x03;
|
GlobalConfig::Zigbee_G.PowerLevel = 0x03;
|
||||||
GlobalConfig::Zigbee_G.RetryNum = 0x05;
|
GlobalConfig::Zigbee_G.RetryNum = 0x0A;
|
||||||
GlobalConfig::Zigbee_G.TranTimeout = Time;
|
GlobalConfig::Zigbee_G.TranTimeout = Time;
|
||||||
modify_info(tmp, (char *)&GlobalConfig::Zigbee_G);
|
modify_info(tmp, (char *)&GlobalConfig::Zigbee_G);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user