From 341b20bfa8d7cf14d17ca917a86d29ebdd4f506b Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周三, 18 3月 2015 16:56:40 +0800
Subject: [PATCH] Update strnpbrk test

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

diff --git a/examples/test-tcp/main.c b/examples/test-tcp/main.c
index 2336165..596a4cf 100644
--- a/examples/test-tcp/main.c
+++ b/examples/test-tcp/main.c
@@ -76,7 +76,14 @@
     return SCPI_RES_OK;
 }
 
-scpi_result_t SCPI_Test(scpi_t * context) {
+/**
+ * Callback for *TST? command
+ * 
+ * It returns directly the result of the test
+ * @param context
+ * @return 0 means "test was OK", other values means, that some error bits are set
+ */
+int32_t SCPI_Test(scpi_t * context) {
     fprintf(stderr, "**Test\r\n");
     return SCPI_RES_OK;
 }

--
Gitblit v1.9.1