Kinsey Moore started a new discussion on bsps/arm/stm32h7/spi/spi-support.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1162#note_147453

 >    if (speed_hz < (ctx->bus.max_speed_hz / 128)) {
 >      /* clock rate request too low */
 >      return 1;
 >    }

The first added check below is redundant. This guarantees that speed_hz cannot 
be 0.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1162#note_147453
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

Reply via email to