From ee34e311bc4a79458ed16aefbd34774fe77e3811 Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周日, 19 4月 2015 17:03:55 +0800
Subject: [PATCH] Update c++ support

---
 examples/common/scpi-def.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/examples/common/scpi-def.c b/examples/common/scpi-def.c
index 8b1c803..075f792 100644
--- a/examples/common/scpi-def.c
+++ b/examples/common/scpi-def.c
@@ -162,6 +162,8 @@
 }
 
 static const scpi_command_t scpi_commands[] = {
+    /* { .pattern = "pattern", .callback = callback}, */
+    
     /* IEEE Mandated Commands (SCPI std V1999.0 4.1.1) */
     { .pattern = "*CLS", .callback = SCPI_CoreCls,},
     { .pattern = "*ESE", .callback = SCPI_CoreEse,},
@@ -243,3 +245,4 @@
     .special_numbers = scpi_special_numbers_def,
     .idn = {"MANUFACTURE", "INSTR2013", NULL, "01-02"},
 };
+

--
Gitblit v1.9.1