From 932061c92277c46278b2b4027e1fdb873e1bc19b Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周二, 04 12月 2012 18:28:17 +0800
Subject: [PATCH] Update README - file structure

---
 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