From 3a0d40729383c42af1cef194abc56182955fb9c9 Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周日, 24 4月 2016 16:57:16 +0800
Subject: [PATCH] Fix test and examples to work with extended errors

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

diff --git a/examples/test-interactive/main.c b/examples/test-interactive/main.c
index c8cb4d1..e6e5763 100644
--- a/examples/test-interactive/main.c
+++ b/examples/test-interactive/main.c
@@ -94,7 +94,8 @@
             scpi_units_def,
             SCPI_IDN1, SCPI_IDN2, SCPI_IDN3, SCPI_IDN4,
             scpi_input_buffer, SCPI_INPUT_BUFFER_LENGTH,
-            scpi_error_queue_data, SCPI_ERROR_QUEUE_SIZE);
+            scpi_error_queue_data, SCPI_ERROR_QUEUE_SIZE,
+            NULL, 0);
 
     //printf("%.*s %s\r\n",  3, "asdadasdasdasdas", "b");
     printf("SCPI Interactive demo\r\n");

--
Gitblit v1.9.1