libscpi/inc/scpi/constants.h | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
libscpi/src/parser.c | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
libscpi/inc/scpi/constants.h
@@ -41,14 +41,6 @@ extern "C" { #endif /* 4.1.3.6 *IDN? */ #define SCPI_DEFAULT_1_MANUFACTURE "CTU FEE" #define SCPI_DEFAULT_2_MODEL "TSI3225" #define SCPI_DEFAULT_3 "0" #define SCPI_DEFAULT_4_REVISION "01-01" /* 21.21 :VERSion? * YYYY.V * YYYY = SCPI year libscpi/src/parser.c
@@ -247,19 +247,6 @@ * @param interface */ void SCPI_Init(scpi_t * context) { if (context->idn[0] == NULL) { context->idn[0] = SCPI_DEFAULT_1_MANUFACTURE; } if (context->idn[1] == NULL) { context->idn[1] = SCPI_DEFAULT_2_MODEL; } if (context->idn[2] == NULL) { context->idn[2] = SCPI_DEFAULT_3; } if (context->idn[3] == NULL) { context->idn[3] = SCPI_DEFAULT_4_REVISION; } context->buffer.position = 0; SCPI_ErrorInit(context); }