From a2e83e5ff635f040cffe4c12cfdaa60fa320c3de Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周三, 22 4月 2015 01:59:50 +0800
Subject: [PATCH] Make public SCPI_LongToStr, SCPI_DoubleToStr

---
 examples/test-tcp/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/examples/test-tcp/main.c b/examples/test-tcp/main.c
index 2336165..fcd339e 100644
--- a/examples/test-tcp/main.c
+++ b/examples/test-tcp/main.c
@@ -63,7 +63,7 @@
 int SCPI_Error(scpi_t * context, int_fast16_t err) {
     (void) context;
     // BEEP
-    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;
 }
 

--
Gitblit v1.9.1