RTEMS | uC5282/console/console.c: Fix misleading indentation warning (!588)

Kinsey Moore (@opticron) gitlab at rtems.org
Wed Jul 16 16:30:28 UTC 2025




Kinsey Moore started a new discussion on bsps/m68k/uC5282/console/console.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/588#note_126642

 >  	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;
 > +	}

Please use the closing brace style present in the remainder of the file with the closing brace at the same indentation level as the while. Same for the other addition.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/588#note_126642
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/6772b9b2/attachment-0001.htm>


More information about the bugs mailing list