From db0bfe56689d8ca9bd2f716836db04d4cd252588 Mon Sep 17 00:00:00 2001
From: Jack <jack.barraclough.1@gmail.com>
Date: 周三, 22 2月 2017 00:59:26 +0800
Subject: [PATCH] Fix compiler warning with USE_COMMAND_TAGS 0

---
 examples/common/scpi-def.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/common/scpi-def.h b/examples/common/scpi-def.h
index 908f80b..ddce164 100644
--- a/examples/common/scpi-def.h
+++ b/examples/common/scpi-def.h
@@ -13,7 +13,7 @@
 extern const scpi_command_t scpi_commands[];
 extern scpi_interface_t scpi_interface;
 extern char scpi_input_buffer[];
-extern int16_t scpi_error_queue_data[];
+extern scpi_error_t scpi_error_queue_data[];
 extern scpi_t scpi_context;
 
 size_t SCPI_Write(scpi_t * context, const char * data, size_t len);
@@ -25,5 +25,5 @@
 
 scpi_result_t SCPI_SystemCommTcpipControlQ(scpi_t * context);
 
-#endif // __SCPI_DEF_H_
+#endif /* __SCPI_DEF_H_ */
 

--
Gitblit v1.9.1