RTEMS | stm32h7/spi-support: correct bugs and improve safety in SPI HAL (!1162)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Mar 26 02:30:48 UTC 2026
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_147059
> ctx->spi.Instance->CFG1 &= ~prescaler_mask;
> ctx->spi.Instance->CFG1 |= SPI_BAUDRATEPRESCALER_2;
> } else {
> +
> + if (speed_hz == 0) {
> + return 1;
> + }
Formatting here appears incorrect.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1162#note_147059
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260326/ef1dd444/attachment.htm>
More information about the bugs
mailing list