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 --- libscpi/inc/scpi/constants.h | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/libscpi/inc/scpi/constants.h b/libscpi/inc/scpi/constants.h index 9316556..ecbfb55 100644 --- a/libscpi/inc/scpi/constants.h +++ b/libscpi/inc/scpi/constants.h @@ -41,10 +41,17 @@ extern "C" { #endif + /* 21.21 :VERSion? + * YYYY.V + * YYYY = SCPI year + * V = SCPI revision + */ +#define SCPI_STD_VERSION_REVISION "1999.0" -#define SCPI_MANUFACTURE "CTU FEE" -#define SCPI_DEV_NAME "TEST SCPI INSTRUMENT TSI3225" -#define SCPI_DEV_VERSION "v1.0" +/* 21.8 :ERRor Subsystem + * The maximum string length of <Error/event_description> plus <Device-dependent_info> is 255 characters. + */ +#define SCPI_STD_ERROR_DESC_MAX_STRING_LENGTH 255 #ifdef __cplusplus } -- Gitblit v1.9.1