From 6110e0eeedb48c81fad0e5175aa3639f1a703bfa Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周一, 12 10月 2015 21:51:20 +0800
Subject: [PATCH] Format and trailing space cleanup

---
 examples/test-interactive/main.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/examples/test-interactive/main.c b/examples/test-interactive/main.c
index 1742bb8..06b2fca 100644
--- a/examples/test-interactive/main.c
+++ b/examples/test-interactive/main.c
@@ -45,7 +45,7 @@
     return fwrite(data, 1, len, stdout);
 }
 
-scpi_result_t SCPI_Flush(scpi_t * context) {    
+scpi_result_t SCPI_Flush(scpi_t * context) {
     return SCPI_RES_OK;
 }
 
@@ -73,6 +73,7 @@
 scpi_result_t SCPI_SystemCommTcpipControlQ(scpi_t * context) {
     return SCPI_RES_ERR;
 }
+
 /*
  * 
  */
@@ -87,10 +88,10 @@
     printf("SCPI Interactive demo\r\n");
     char smbuffer[10];
     while (1) {
-         if (NULL == fgets(smbuffer, 10, stdin)) {
-             break;
-         }
-         SCPI_Input(&scpi_context, smbuffer, strlen(smbuffer));
+        if (NULL == fgets(smbuffer, 10, stdin)) {
+            break;
+        }
+        SCPI_Input(&scpi_context, smbuffer, strlen(smbuffer));
     }
 
 

--
Gitblit v1.9.1