void motor_disable() { TIM_CtrlPWMOutputs(MOTOR_TIMER, DISABLE); // disable PWM outputs TIM_Cmd(MOTOR_TIMER, DISABLE); // disable timer } Example #16 0 Show file File: drv_pwm_fy90q.c Project: mcu786/baseflight-1 bool pwmInit(drv_pwm_config_t *init) { GPIO_InitTypeDef GPIO_...