From f275a91132d30c7f558079017c97d33a01758059 Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周六, 18 4月 2015 17:02:13 +0800 Subject: [PATCH] Export matchCommand by SCPI_Match - resolve #30 --- libscpi/src/units.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libscpi/src/units.c b/libscpi/src/units.c index 958b61e..a4c7592 100644 --- a/libscpi/src/units.c +++ b/libscpi/src/units.c @@ -37,7 +37,7 @@ #include <string.h> #include "scpi/parser.h" #include "scpi/units.h" -#include "utils.h" +#include "scpi/utils_private.h" #include "scpi/error.h" @@ -109,8 +109,9 @@ {/* name */ "UP", /* type */ SCPI_NUM_UP}, {/* name */ "DOWN", /* type */ SCPI_NUM_DOWN}, {/* name */ "NAN", /* type */ SCPI_NUM_NAN}, - {/* name */ "INF", /* type */ SCPI_NUM_INF}, + {/* name */ "INFinity", /* type */ SCPI_NUM_INF}, {/* name */ "NINF", /* type */ SCPI_NUM_NINF}, + {/* name */ "AUTO", /* type */ SCPI_NUM_AUTO}, SCPI_SPECIAL_NUMBERS_LIST_END, }; -- Gitblit v1.9.1