From 2a1fbbd629e4c1d7f636bbb7817bea1ba082981a Mon Sep 17 00:00:00 2001 From: folkert van heusden <mail@vanheusden.com> Date: 周五, 19 11月 2021 05:00:39 +0800 Subject: [PATCH] The problem of the fragmented *IDN? response can be mitigated somewhat by enabling nagle during the response to that command. --- libscpi/inc/scpi/cc.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libscpi/inc/scpi/cc.h b/libscpi/inc/scpi/cc.h index 2563039..4381602 100644 --- a/libscpi/inc/scpi/cc.h +++ b/libscpi/inc/scpi/cc.h @@ -68,7 +68,7 @@ #define HAVE_SNPRINTF 1 #endif -#if (defined _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 200112L) +#if (defined _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 200112L) #define HAVE_STRNCASECMP 1 #endif @@ -195,7 +195,7 @@ #endif #ifndef HAVE_DTOSTRE -#define HAVE_DTOSTRE 0 +#define HAVE_DTOSTRE 0 #endif #ifdef __cplusplus -- Gitblit v1.9.1