summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/serial/z85c30.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/libchip/serial/z85c30.c')
-rw-r--r--c/src/libchip/serial/z85c30.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/libchip/serial/z85c30.c b/c/src/libchip/serial/z85c30.c
index 3e3a52e23f..bcdd9417da 100644
--- a/c/src/libchip/serial/z85c30.c
+++ b/c/src/libchip/serial/z85c30.c
@@ -659,8 +659,8 @@ Z85C30_STATIC rtems_isr z85c30_isr(
*/
if (ulCtrlPort == Console_Port_Tbl[minor].ulCtrlPort1) {
- ucIntPendPort = ucIntPend>>3;
- ucIntPendPort = ucIntPendPort&=7;
+ ucIntPendPort = ucIntPend >> 3;
+ ucIntPendPort &= 7;
} else {
ucIntPendPort = ucIntPend &= 7;
}