RTEMS | bsps/m68k/genmcf548x/console/console.c: Fix misleading indentation (!595)

Kinsey Moore (@opticron) gitlab at rtems.org
Thu Jul 17 20:53:57 UTC 2025




Kinsey Moore started a new discussion on bsps/m68k/genmcf548x/console/console.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/595#note_126747

 > +  rtems_interrupt_disable(level);
 > +    while (!((MCF548X_PSC_SR(CONSOLE_PORT) & MCF548X_PSC_SR_TXRDY))) {
 > +      continue;
 > +    }
 >  
 > -	rtems_interrupt_disable(level);
 > -    while (!((MCF548X_PSC_SR(CONSOLE_PORT) & MCF548X_PSC_SR_TXRDY)))
 > -        continue;
 >      *((uint8_t *) &MCF548X_PSC_TB(CONSOLE_PORT)) = c;
 > -    while (!((MCF548X_PSC_SR(CONSOLE_PORT) & MCF548X_PSC_SR_TXRDY)))
 > -        continue;
 > -	rtems_interrupt_enable(level);
 > +
 > +    while (!((MCF548X_PSC_SR(CONSOLE_PORT) & MCF548X_PSC_SR_TXRDY))) {
 > +      continue;
 > +   }

ditto

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/595#note_126747
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/20250717/dd26b2d8/attachment.htm>


More information about the bugs mailing list