From 4c11ea0639b923a171e72a47b8006734ba184b3e Mon Sep 17 00:00:00 2001
From: nancy.liao <huihui.liao@greentest.com.cn>
Date: 周二, 15 4月 2025 18:47:46 +0800
Subject: [PATCH] 同步修改前的原SCPI库

---
 libscpi/src/ieee488.c |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/libscpi/src/ieee488.c b/libscpi/src/ieee488.c
index c5f2665..e45d8f3 100644
--- a/libscpi/src/ieee488.c
+++ b/libscpi/src/ieee488.c
@@ -38,8 +38,6 @@
 #include "scpi/parser.h"
 #include "scpi/ieee488.h"
 #include "scpi/error.h"
-#include "scpi/constants.h"
-
 #include <stdio.h>
 
 static const scpi_reg_info_t scpi_reg_details[SCPI_REG_COUNT] = {
@@ -280,7 +278,8 @@
  * @param context
  * @return 
  */
-scpi_result_t SCPI_CoreEse(scpi_t * context) {
+scpi_result_t SCPI_CoreEse(scpi_t * context)
+{
     int32_t new_ESE;
     if (SCPI_ParamInt32(context, &new_ESE, TRUE)) {
         SCPI_RegSet(context, SCPI_REG_ESE, (scpi_reg_val_t) new_ESE);
@@ -422,3 +421,15 @@
     return SCPI_RES_OK;
 }
 
+scpi_result_t SCPI_NanCy(scpi_t * context)
+{
+
+    return SCPI_RES_OK;
+}
+scpi_result_t SCPICount(scpi_t * context)
+{
+    return SCPI_RES_OK;
+
+
+}
+

--
Gitblit v1.9.1