add code
This commit is contained in:
parent
0535c0765c
commit
8f2698b48f
@ -453,7 +453,7 @@ int Uart::DealReviveDuration(uint16_t ushortAdd){
|
|||||||
int next_taskID = 0;
|
int next_taskID = 0;
|
||||||
bool z = false;
|
bool z = false;
|
||||||
uint16_t next_duration = scheduler::instance().GetNextDuration(ushortAdd,z,next_taskID);
|
uint16_t next_duration = scheduler::instance().GetNextDuration(ushortAdd,z,next_taskID);
|
||||||
zlog_info(zct, "next_duration = %d next_taskID = %d", next_duration,next_taskID);
|
zlog_info(zct, "next_duration = %d next_taskID = %d,z = %d", next_duration,next_taskID,z);
|
||||||
scheduleTask.cmd = REVIVE_DURATION;
|
scheduleTask.cmd = REVIVE_DURATION;
|
||||||
scheduleTask.shortAddr = ushortAdd;
|
scheduleTask.shortAddr = ushortAdd;
|
||||||
scheduleTask.duration = next_duration;
|
scheduleTask.duration = next_duration;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user