mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-13 21:48:25 +08:00
获取功率
This commit is contained in:
@@ -161,6 +161,7 @@ int application_start(void)
|
||||
//发送功率数据
|
||||
if (power_last != power || main_num > 4)
|
||||
{
|
||||
SetPowerRecord(&power_record, power);
|
||||
power_last = power;
|
||||
main_num =0;
|
||||
sprintf(power_buf, "{\"mac\":\"%s\",\"power\":\"%u.%u\",\"total_time\":%u}",
|
||||
|
||||
Reference in New Issue
Block a user