Commit 21e95aa7 authored by hu's avatar hu

调整界面

parent a9b03806
......@@ -102,12 +102,12 @@ void Tacho_Processing_Service(void)
//转*每转脉冲数/60=频率
u32Result *= 4;
u32Result /= 60;
u32Result *= 4u;
u32Result /= 60u;
Fre = (uint16_t)u32Result;
RTE_PWM_Set_Tacho_Out(Fre, 500);
RTE_PWM_Set_Tacho_Out(Fre, 500u);
}
/*-------------------------------------------------------------------------
* Function Name : Tacho_Display
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment