[rtems commit] sh/sh7750/sci/sh4uart.c: ix misleading indentation warning

Joel Sherrill joel at rtems.org
Mon Apr 24 22:21:55 UTC 2017


Module:    rtems
Branch:    master
Commit:    0d01cdd68cbc5c02e86819a6395fa6f29efd2f8d
Changeset: http://git.rtems.org/rtems/commit/?id=0d01cdd68cbc5c02e86819a6395fa6f29efd2f8d

Author:    Joel Sherrill <joel at rtems.org>
Date:      Mon Apr 24 11:18:03 2017 -0500

sh/sh7750/sci/sh4uart.c: ix misleading indentation warning

---

 c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c b/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c
index c64dac5..7acc1de 100644
--- a/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c
+++ b/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c
@@ -548,7 +548,7 @@ sh4uart_poll_write(sh4uart *uart, const char *buf, int len)
         }
         while ((SCSSR2 & SH7750_SCSSR2_TDFE) == 0 ||
                 (SCSSR2 & SH7750_SCSSR2_TEND) == 0);
-            *ssr2 &= ~(SH7750_SCSSR1_TDRE | SH7750_SCSSR2_TEND);
+        *ssr2 &= ~(SH7750_SCSSR1_TDRE | SH7750_SCSSR2_TEND);
       }
     }
   }



More information about the vc mailing list