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/units.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/libscpi/src/units.c b/libscpi/src/units.c
index e68af41..1e64701 100644
--- a/libscpi/src/units.c
+++ b/libscpi/src/units.c
@@ -42,6 +42,7 @@
 #include "scpi/utils.h"
 #include "scpi/error.h"
 #include "lexer_private.h"
+#include "scpi/types.h"
 
 
 /*
@@ -63,6 +64,13 @@
 /*
  * units definition IEEE 488.2-1992 tab 7-1
  */
+
+
+/*
+     scpi_units_def 鏄崟浣嶅畾涔夎〃 鎻愪緵鍗曚綅杞崲
+     鎷撳睍鍗曚綅鍦ㄦ澶勬坊鍔�
+*/ 
+
 const scpi_unit_def_t scpi_units_def[] = {
 #if USE_UNITS_PARTICLES
     /* Absorbet dose */
@@ -273,6 +281,9 @@
 /*
  * Special number values definition
  */
+
+
+//鐗规畩鏁板�煎畾涔�
 const scpi_choice_def_t scpi_special_numbers_def[] = {
     {/* name */ "MINimum", /* type */ SCPI_NUM_MIN},
     {/* name */ "MAXimum", /* type */ SCPI_NUM_MAX},

--
Gitblit v1.9.1