From a23f5839b75d2e0cacd7485640823cffed37cc3c Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Thu, 23 Feb 2023 20:24:42 +0000 Subject: [PATCH] Update DisplayInterface.cpp Remove dummy display driver object - it's unnecessary now as a null pointer is benign in this context. --- DisplayInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DisplayInterface.cpp b/DisplayInterface.cpp index f2c144e..81da7a9 100644 --- a/DisplayInterface.cpp +++ b/DisplayInterface.cpp @@ -21,7 +21,7 @@ #include "DisplayInterface.h" -// Install null display driver initially - will be replaced if required. -DisplayInterface *DisplayInterface::_displayHandler = new DisplayInterface(); +// Start of chain of display handlers. +DisplayInterface *DisplayInterface::_displayHandler = NULL; uint8_t DisplayInterface::_selectedDisplayNo = 255;