From 625c840d17a73cc2ac8a664e68f6c82431f9da23 Mon Sep 17 00:00:00 2001 From: Jueff Date: Sun, 17 Dec 2023 21:13:54 +0100 Subject: [PATCH] fix issue with uninitialized member variable --- src/LocoNetESP32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LocoNetESP32.h b/src/LocoNetESP32.h index 2f3d03d..0c590bf 100644 --- a/src/LocoNetESP32.h +++ b/src/LocoNetESP32.h @@ -82,7 +82,7 @@ class LocoNetESP32: public LocoNetPhy VAL_RX_HIGH=HIGH }; - bool _isrAttached; + bool _isrAttached = false; void IRAM_ATTR enableStartBitISR(bool en=true) ; void IRAM_ATTR loconetStartBit(); void IRAM_ATTR loconetBitTimer();