提交一个生产版本
This commit is contained in:
parent
2522169609
commit
0ffa92c2c1
|
@ -227,7 +227,7 @@ int APP_Calibration_Handle(void)
|
|||
Calibration_flag = 1;
|
||||
uint8_t calibration_buf[2] = {0};
|
||||
/* 获取10个数据 */
|
||||
#if 0
|
||||
#if 1
|
||||
uint8_t i = 0;
|
||||
uint16_t gas_buf[10] = {0};
|
||||
for (i = 0; i < 10; i++)
|
||||
|
@ -238,7 +238,7 @@ int APP_Calibration_Handle(void)
|
|||
return 0;
|
||||
}
|
||||
gas_calibration_voltage += gas_buf[i];
|
||||
rt_thread_mdelay(1000);
|
||||
rt_thread_mdelay(500);
|
||||
}
|
||||
if (i == 10)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue