]> rtime.felk.cvut.cz Git - rpp-test-sw.git/commitdiff
Fix indentation
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 20 Sep 2013 08:02:23 +0000 (10:02 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 20 Sep 2013 08:02:23 +0000 (10:02 +0200)
rpp-test-sw/commands/cmd_can.c

index 9fcbc550e616d69057627655282c2c129f9bda26..f1c488ba5b2f03777f5afe437d23782123f27c7b 100644 (file)
@@ -187,23 +187,23 @@ int cmd_do_test_can_loopback(cmd_io_t *cmd_io, const struct cmd_des *des, char *
                        }
                }
 
-       rpp_sci_printf("Messages transmitted: %d/100\r\n", messagesTransmitted);
-       rpp_sci_printf("Messages received: %d/100\r\n", messagesReceived);
-       rpp_sci_printf("TX timeouts: %d\r\n", txTimeOutCnt);
-       rpp_sci_printf("RX timeouts: %d\r\n", rxTimeOutCnt);
-       rpp_sci_printf("Src TX error counter: %d\r\n", canSrc->EERC & 0xFFU);
-       rpp_sci_printf("Src RX error counter: %d\r\n", (canSrc->EERC & 0xFF00U) >> 8);
-       rpp_sci_printf("Dst TX error counter: %d\r\n", canDst->EERC & 0xFFU);
-       rpp_sci_printf("Dst RX error counter: %d\r\n", (canDst->EERC & 0xFF00U) >> 8);
-       canPrintStatus(can_src, canSendError);
-       canPrintStatus(can_dst, canRecError);
-
-       canDisableErrorNotification(canDst);
-       canDisableErrorNotification(canSrc);
-       vSemaphoreDelete(canMsgReceived);
-       vSemaphoreDelete(canMsgSent);
-       return 0;
-}
+               rpp_sci_printf("Messages transmitted: %d/100\r\n", messagesTransmitted);
+               rpp_sci_printf("Messages received: %d/100\r\n", messagesReceived);
+               rpp_sci_printf("TX timeouts: %d\r\n", txTimeOutCnt);
+               rpp_sci_printf("RX timeouts: %d\r\n", rxTimeOutCnt);
+               rpp_sci_printf("Src TX error counter: %d\r\n", canSrc->EERC & 0xFFU);
+               rpp_sci_printf("Src RX error counter: %d\r\n", (canSrc->EERC & 0xFF00U) >> 8);
+               rpp_sci_printf("Dst TX error counter: %d\r\n", canDst->EERC & 0xFFU);
+               rpp_sci_printf("Dst RX error counter: %d\r\n", (canDst->EERC & 0xFF00U) >> 8);
+               canPrintStatus(can_src, canSendError);
+               canPrintStatus(can_dst, canRecError);
+
+               canDisableErrorNotification(canDst);
+               canDisableErrorNotification(canSrc);
+               vSemaphoreDelete(canMsgReceived);
+               vSemaphoreDelete(canMsgSent);
+               return 0;
+       }
 
 }