From 36f2d7dab1e65507841067073dd66d72b2dc663c Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周二, 04 12月 2012 17:24:30 +0800
Subject: [PATCH] Correct type refactoryng in README

---
 scpi/scpi_units.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/scpi/scpi_units.c b/scpi/scpi_units.c
index 723e0d9..dc058fe 100644
--- a/scpi/scpi_units.c
+++ b/scpi/scpi_units.c
@@ -35,7 +35,7 @@
  */
 
 #include <string.h>
-#include "scpi.h"
+#include "scpi_parser.h"
 #include "scpi_units.h"
 #include "scpi_utils.h"
 #include "scpi_error.h"
@@ -186,7 +186,7 @@
  * @param mandatory if the parameter is mandatory
  * @return 
  */
-bool_t SCPI_ParamNumber(scpi_context_t * context, scpi_number_t * value, bool_t mandatory) {
+bool_t SCPI_ParamNumber(scpi_t * context, scpi_number_t * value, bool_t mandatory) {
     bool_t result;
     char * param;
     size_t len;
@@ -231,7 +231,7 @@
 
 }
 
-size_t SCPI_NumberToStr(scpi_context_t * context, scpi_number_t * value, char * str, size_t len) {
+size_t SCPI_NumberToStr(scpi_t * context, scpi_number_t * value, char * str, size_t len) {
     const char * type;
     const char * unit;
     size_t result;

--
Gitblit v1.9.1