From 697414b42a36a0c529bd1c95d82c81a09bfb0ec9 Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周二, 04 12月 2012 19:08:55 +0800 Subject: [PATCH] Update README - syntax correction and cleanup --- scpi/scpi_parser.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/scpi/scpi_parser.c b/scpi/scpi_parser.c index 09ebe7b..cf6bebe 100644 --- a/scpi/scpi_parser.c +++ b/scpi/scpi_parser.c @@ -336,12 +336,8 @@ * @param buffer * @param interface */ -void SCPI_Init(scpi_t * context, scpi_command_t * command_list, scpi_buffer_t * buffer, scpi_interface_t * interface) { - context->cmdlist = command_list; - context->buffer.data = buffer->data; - context->buffer.length = buffer->length; +void SCPI_Init(scpi_t * context) { context->buffer.position = 0; - context->interface = interface; SCPI_ErrorInit(context); } -- Gitblit v1.9.1