Commit bdc7702e authored by Skye Yu's avatar Skye Yu

fix(send schedule info): reset device schedule info

parent 32f22513
......@@ -965,6 +965,10 @@ Jensen.prototype.sendScheduleInfo = function (infos) {
}
console.log('send schedule info', infos, bodys);
return this.send(new Command(SCHEDULE_INFO).body(bodys));
} else {
const bodys = new Array(52).fill(0);
console.log('send schedule info', infos, bodys);
return this.send(new Command(SCHEDULE_INFO).body(bodys));
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment