From 8aa043d5f7cc13215aa9b4f19fefe020a0dbba4b Mon Sep 17 00:00:00 2001 From: helge <helgewurst@web.de> Date: 周一, 08 11月 2021 23:21:45 +0800 Subject: [PATCH] move irpintf() calls to event handlers --- 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