日常更新
This commit is contained in:
@@ -37,8 +37,8 @@ void by_pwm_init(void)
|
||||
|
||||
void by_pwm_update_duty(uint32_t update_pwm_duty1, uint32_t update_pwm_duty2)
|
||||
{
|
||||
update_pwm_duty1=myclip(update_pwm_duty1, 500, 900);
|
||||
update_pwm_duty2=myclip(update_pwm_duty2, 500, 900);
|
||||
update_pwm_duty1=myclip(update_pwm_duty1, 500, 1000);
|
||||
update_pwm_duty2=myclip(update_pwm_duty2, 500, 1000);
|
||||
pwm_set_duty(Fan_pwm_up1, update_pwm_duty1);
|
||||
pwm_set_duty(Fan_pwm_up2, update_pwm_duty2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user