From 11c25f2b26fb582f339d91797fc56a33757c7c85 Mon Sep 17 00:00:00 2001
From: Howard Li <bighorn@pursuitofchallenge.com>
Date: 周日, 19 4月 2020 12:09:25 +0800
Subject: [PATCH] Add register-related types

---
 libscpi/inc/scpi/config.h |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/libscpi/inc/scpi/config.h b/libscpi/inc/scpi/config.h
index 70e4097..c391e12 100644
--- a/libscpi/inc/scpi/config.h
+++ b/libscpi/inc/scpi/config.h
@@ -100,6 +100,10 @@
 #ifndef USE_MEMORY_ALLOCATION_FREE
 #define USE_MEMORY_ALLOCATION_FREE 1
 #endif
+#else
+#ifndef USE_MEMORY_ALLOCATION_FREE
+#define USE_MEMORY_ALLOCATION_FREE 0
+#endif
 #endif
 
 #ifndef USE_COMMAND_TAGS
@@ -110,8 +114,8 @@
 #define USE_DEPRECATED_FUNCTIONS 1
 #endif
 
-#ifndef USE_CUSTOM_DTOSTR
-#define USE_CUSTOM_DTOSTR 0
+#ifndef USE_CUSTOM_DTOSTRE
+#define USE_CUSTOM_DTOSTRE 0
 #endif
 
 #ifndef USE_UNITS_IMPERIAL

--
Gitblit v1.9.1