From a5a84c429ac548eafd1d3903225a4ce72104201f Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周三, 22 4月 2015 03:50:26 +0800
Subject: [PATCH] Support RESPONSE MESSAGE UNIT SEPARATOR, issue #21

---
 libscpi/inc/scpi/types.h |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/libscpi/inc/scpi/types.h b/libscpi/inc/scpi/types.h
index 8f829b3..3ce30ab 100644
--- a/libscpi/inc/scpi/types.h
+++ b/libscpi/inc/scpi/types.h
@@ -244,10 +244,13 @@
     typedef struct _scpi_param_list_t scpi_param_list_t;  
     
     struct _scpi_number_parameter_t {
-        double value;
+        scpi_bool_t special;
+        union {
+            double value;
+            int32_t tag;
+        };
         scpi_unit_t unit;
         int8_t base;
-        scpi_special_number_t type;
     };
     typedef struct _scpi_number_parameter_t scpi_number_t;
 

--
Gitblit v1.9.1