From 3c5ca89152f962e0887bd5cf607c69a52c3dd575 Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周二, 31 5月 2016 21:50:42 +0800 Subject: [PATCH] Rework compiler detection, fix SCPI_dtostre length limitation --- libscpi/inc/scpi/constants.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/libscpi/inc/scpi/constants.h b/libscpi/inc/scpi/constants.h index 61cd9a6..ecbfb55 100644 --- a/libscpi/inc/scpi/constants.h +++ b/libscpi/inc/scpi/constants.h @@ -48,6 +48,11 @@ */ #define SCPI_STD_VERSION_REVISION "1999.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 } #endif -- Gitblit v1.9.1