From e601ab533f8f37547356667256afc74a434b0a33 Mon Sep 17 00:00:00 2001 From: Anthony Aufdenkampe Date: Tue, 16 Apr 2024 13:55:39 -0500 Subject: [PATCH] Fix debug for Keller @hodsonm-cws, this clears the compile error when you define `MS_KELLERPARENT_DEBUG_DEEP` in the platoformio.ini. --- src/sensors/KellerParent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sensors/KellerParent.cpp b/src/sensors/KellerParent.cpp index b0cc878cf..532db6927 100644 --- a/src/sensors/KellerParent.cpp +++ b/src/sensors/KellerParent.cpp @@ -63,7 +63,7 @@ bool KellerParent::setup(void) { if (_powerPin2 >= 0) pinMode(_powerPin2, OUTPUT); #ifdef MS_KELLERPARENT_DEBUG_DEEP - sensor.setDebugStream(&DEEP_DEBUGGING_SERIAL_OUTPUT); + _ksensor.setDebugStream(&DEEP_DEBUGGING_SERIAL_OUTPUT); #endif // This sensor begin is just setting more pin modes, etc, no sensor power