fixed includes
This commit is contained in:
		@ -25,7 +25,7 @@ void PWM_control_init(TIM_HandleTypeDef powerground1, TIM_HandleTypeDef powergro
 | 
			
		||||
  controls the duty cycle of the fans by setting the CCR of the channel percent/100 = x/ARR
 | 
			
		||||
*/
 | 
			
		||||
void PWM_powerground_control(uint8_t percent){
 | 
			
		||||
  if (percent > 100 || percent < 0)
 | 
			
		||||
  if (percent > 100) //something went wrong
 | 
			
		||||
    return;
 | 
			
		||||
 | 
			
		||||
  powerground_status = percent/100;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user