RTEMS | uC5282/console/console.c: Fix misleading indentation warning (!588)
Kinsey Moore (@opticron)
gitlab at rtems.org
Wed Jul 16 17:33:12 UTC 2025
Kinsey Moore commented on a discussion on bsps/m68k/uC5282/console/console.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/588#note_126652
> int level;
>
> rtems_interrupt_disable(level);
> - while ( (MCF5282_UART_USR(CONSOLE_PORT) & MCF5282_UART_USR_TXRDY) == 0 )
> + while ( (MCF5282_UART_USR(CONSOLE_PORT) & MCF5282_UART_USR_TXRDY) == 0 ) {
> continue;
> + }
The braces are still overly indented. The remainder of the code in this file has braces at the same indentation level as the keyword (while, if, switch, etc.) they're attached to.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/588#note_126652
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/20250716/a23ba00e/attachment.htm>
More information about the bugs
mailing list