From 89e30f3877f118ed79b64b9e9fdee5faa87997cc Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Mon, 19 Jul 2021 00:33:45 +0200 Subject: [PATCH] Initialize _logOutput to NULL --- lib/ArduinoLog/ArduinoLog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ArduinoLog/ArduinoLog.h b/lib/ArduinoLog/ArduinoLog.h index 921a92db..65f945c9 100644 --- a/lib/ArduinoLog/ArduinoLog.h +++ b/lib/ArduinoLog/ArduinoLog.h @@ -343,7 +343,7 @@ class Logging { #ifndef DISABLE_LOGGING int _level[3]; bool _showLevel[3]; - Print* _logOutput[3]; + Print* _logOutput[3] = {NULL,NULL,NULL}; printfunction _prefix = NULL; printfunction _suffix = NULL;