动态显示真实公功率OK

This commit is contained in:
zogodo
2019-10-10 23:30:04 +08:00
parent bb3ea7ae0d
commit 47d76f9567
3 changed files with 2 additions and 3 deletions

View File

@@ -161,7 +161,7 @@ int application_start(void)
//发送功率数据
if (power_last != power || main_num > 4)
{
//SetPowerRecord(&power_record, power);
SetPowerRecord(&power_record, power);
power_last = power;
main_num =0;
sprintf(power_buf, "{\"mac\":\"%s\",\"power\":\"%u.%u\",\"total_time\":%u}",