From f1df88aef5780f8322c34abdf35ff7b988f83de5 Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周六, 18 4月 2015 20:01:48 +0800 Subject: [PATCH] avr-libc double to string conversion --- libscpi/src/units.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/libscpi/src/units.c b/libscpi/src/units.c index efd5b88..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" @@ -111,6 +111,7 @@ {/* name */ "NAN", /* type */ SCPI_NUM_NAN}, {/* 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