From 4cd733b86d8825cbc5b28d8043ed3705a50ff0a3 Mon Sep 17 00:00:00 2001 From: Michael Geramb Date: Tue, 2 Jan 2024 19:37:52 +0100 Subject: [PATCH] Fix build error for missing variable if KNX_NETIF is not defined --- src/rp2040_arduino_platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rp2040_arduino_platform.h b/src/rp2040_arduino_platform.h index 613ba27..b4e7f8d 100644 --- a/src/rp2040_arduino_platform.h +++ b/src/rp2040_arduino_platform.h @@ -128,9 +128,9 @@ public: #endif protected: IPAddress mcastaddr; protected: uint16_t _port; + #endif protected: pin_size_t _rxPin = UART_PIN_NOT_DEFINED; protected: pin_size_t _txPin = UART_PIN_NOT_DEFINED; - #endif }; #endif