From a6dedec1adeeb974bceb1930cb63178d6165c7f6 Mon Sep 17 00:00:00 2001 From: nancy.liao <huihui.liao@greentest.com.cn> Date: 周三, 16 4月 2025 09:53:34 +0800 Subject: [PATCH] 使用了scpi-def的cpp版本 --- libscpi/src/ieee488.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libscpi/src/ieee488.c b/libscpi/src/ieee488.c index c5f2665..6e20a4c 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,4 @@ return SCPI_RES_OK; } + -- Gitblit v1.9.1