From 83847012f9b0a0d479725d4741c551c88d7035c2 Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周六, 25 4月 2015 22:54:36 +0800
Subject: [PATCH] Solve #16 Multiple Identical Capabilities

---
 examples/test-parser/main.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/examples/test-parser/main.c b/examples/test-parser/main.c
index fef4bdb..a19aa6a 100644
--- a/examples/test-parser/main.c
+++ b/examples/test-parser/main.c
@@ -52,7 +52,7 @@
 int SCPI_Error(scpi_t * context, int_fast16_t err) {
     (void) context;
 
-    fprintf(stderr, "**ERROR: %d, \"%s\"\r\n", (int32_t) err, SCPI_ErrorTranslate(err));
+    fprintf(stderr, "**ERROR: %d, \"%s\"\r\n", (int16_t) err, SCPI_ErrorTranslate(err));
     return 0;
 }
 
@@ -62,11 +62,6 @@
     } else {
         fprintf(stderr, "**CTRL %02x: 0x%X (%d)\r\n", ctrl, val, val);
     }
-    return SCPI_RES_OK;
-}
-
-scpi_result_t SCPI_Test(scpi_t * context) {
-    fprintf(stderr, "**Test\r\n");
     return SCPI_RES_OK;
 }
 

--
Gitblit v1.9.1