From fa5dc4d115bcf3324295da07851f2224c9c25bf8 Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: ćšć, 26 11æ 2015 03:46:35 +0800 Subject: [PATCH] Add more tests to *SRE and *RST --- libscpi/src/parser.c | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/libscpi/src/parser.c b/libscpi/src/parser.c index 0552420..70187f3 100644 --- a/libscpi/src/parser.c +++ b/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); } -- Gitblit v1.9.1