From ab7afae2a81c35d61d7c9cb6c6cc216180bb4524 Mon Sep 17 00:00:00 2001
From: helge <helgewurst@web.de>
Date: 摹曛, 04 11月 2021 21:37:49 +0800
Subject: [PATCH] move port number definitions to header

---
 examples/test-LwIP-netconn/scpi_server.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/examples/test-LwIP-netconn/scpi_server.h b/examples/test-LwIP-netconn/scpi_server.h
index 9a8f944..1c04dda 100644
--- a/examples/test-LwIP-netconn/scpi_server.h
+++ b/examples/test-LwIP-netconn/scpi_server.h
@@ -32,6 +32,9 @@
 extern "C" {
 #endif
 
+#define SCPI_DEVICE_PORT  5025 // scpi-raw standard port
+#define SCPI_CONTROL_PORT 5026 // libscpi control port (not part of the standard)
+
 #include <stdint.h>
 
 void scpi_server_init(void);

--
Gitblit v1.9.1