|
|
@ -176,7 +176,6 @@ void device_level_process() { |
|
|
|
} |
|
|
|
//定时处理 |
|
|
|
void device_time_process() { |
|
|
|
printf("led_num = %d,", this_device.time_led_num); |
|
|
|
if (this_device.time_led_num > 0 && this_device.ozone_module == timingMode) { |
|
|
|
if (systicket_haspassedms(this_device.time_led_start_time) > 5000) { |
|
|
|
this_device.time_led_start_time = systicket_get_now_ms(); |
|
|
@ -252,7 +251,10 @@ int main() { |
|
|
|
END(); |
|
|
|
|
|
|
|
// debug light |
|
|
|
DO_IT_EACH_MS(200) { flip_debuf_light_level(); } |
|
|
|
DO_IT_EACH_MS(200) { |
|
|
|
flip_debuf_light_level(); |
|
|
|
// printf("fan freq:%lf\n", port_adc_get_fan_power()); |
|
|
|
} |
|
|
|
END(); |
|
|
|
|
|
|
|
hcis_shcedule(); |
|
|
|