From 21f09e1cdeff8cf11d3cde4a76fd82467201472d Mon Sep 17 00:00:00 2001
From: Iztok Jeras <iztok.jeras@gmail.com>
Date: 周五, 07 7月 2017 20:50:39 +0800
Subject: [PATCH] fixed typo FAGRENHEIT should be FAHRENHEIT

---
 libscpi/inc/scpi/types.h |    2 +-
 libscpi/src/units.c      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libscpi/inc/scpi/types.h b/libscpi/inc/scpi/types.h
index 334843a..ac826d2 100644
--- a/libscpi/inc/scpi/types.h
+++ b/libscpi/inc/scpi/types.h
@@ -281,7 +281,7 @@
         SCPI_UNIT_BAR,
         SCPI_UNIT_DECIBEL,
         SCPI_UNIT_UNITLESS,
-        SCPI_UNIT_FAGRENHEIT,
+        SCPI_UNIT_FAHRENHEIT,
         SCPI_UNIT_KELVIN,
         SCPI_UNIT_DAY,
         SCPI_UNIT_YEAR,
diff --git a/libscpi/src/units.c b/libscpi/src/units.c
index 3a7b8c2..3274205 100644
--- a/libscpi/src/units.c
+++ b/libscpi/src/units.c
@@ -248,7 +248,7 @@
     /* Temperature */
     {/* name */ "CEL", /* unit */ SCPI_UNIT_CELSIUS, /* mult */ 1},
 #if USE_UNITS_IMPERIAL
-    {/* name */ "FAR", /* unit */ SCPI_UNIT_FAGRENHEIT, /* mult */ 1},
+    {/* name */ "FAR", /* unit */ SCPI_UNIT_FAHRENHEIT, /* mult */ 1},
 #endif /* USE_UNITS_IMPERIAL */
     {/* name */ "K", /* unit */ SCPI_UNIT_KELVIN, /* mult */ 1},
 #endif /* USE_UNITS_TEMPERATURE */

--
Gitblit v1.9.1