From 1ad056033595983f45b66a7165a6504528d64966 Mon Sep 17 00:00:00 2001 From: Stephen Brown Date: Sun, 5 Jun 2022 22:48:42 +0100 Subject: [PATCH] Fixed assertion on startup due to uninitialised variable --- src/uibuttons.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/uibuttons.cpp b/src/uibuttons.cpp index 6a5850b..c54cb1a 100644 --- a/src/uibuttons.cpp +++ b/src/uibuttons.cpp @@ -96,7 +96,8 @@ CUIButtons::CUIButtons (unsigned nPrevPin, unsigned nNextPin, unsigned nBackPin, m_NextButton (nNextPin), m_BackButton (nBackPin), m_SelectButton (nSelectPin), - m_HomeButton (nHomePin) + m_HomeButton (nHomePin), + m_pEventHandler (0) { }