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. --- examples/test-tcp-srq/Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/test-tcp-srq/Makefile b/examples/test-tcp-srq/Makefile index 3338b7b..dcfa0b1 100644 --- a/examples/test-tcp-srq/Makefile +++ b/examples/test-tcp-srq/Makefile @@ -2,8 +2,8 @@ PROG = test SRCS = main.c ../common/scpi-def.c -CFLAGS += -Wextra -I ../../libscpi/inc/ -LDFLAGS += ../../libscpi/dist/libscpi.a -Wl,--as-needed +CFLAGS += -Wextra -Wmissing-prototypes -Wimplicit -I ../../libscpi/inc/ +LDFLAGS += -lm ../../libscpi/dist/libscpi.a -Wl,--as-needed .PHONY: clean all -- Gitblit v1.9.1