Sebastian Huber started a new discussion on bsps/shared/grlib/pwm/grpwm.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/256#note_113276 > unsigned int pctrl, wctrl=0; > > pwm = priv->channels[channel]; > - if ( pwm->pwmregs->ctrl & GRPWM_PCTRL_EN_BIT ) { > + if ( pwm->pwmregs->ctrl & (1 << GRPWM_PCTRL_EN_BIT) ) { This should be simply `GRPWM_PCTRL_EN`. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/256#note_113276 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
