From dc83674540f9ec1a2a75e9b4ae1ee472278dfeaf Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 16 Jun 2020 23:48:50 +0200 Subject: [PATCH] neutrino: allow to toggle nglcd in standbymode Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/e8bde79e28335cc1fae0b5caa5abac68b7c0dc5a Author: vanhofen Date: 2020-06-16 (Tue, 16 Jun 2020) Origin message was: ------------------ - neutrino: allow to toggle nglcd in standbymode --- src/neutrino.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index dd1274c47..a053336e0 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -3900,6 +3900,9 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data) if( mode == NeutrinoModes::mode_standby ) { //switch lcd off/on CVFD::getInstance()->togglePower(); +#ifdef ENABLE_GRAPHLCD + nGLCD::TogglePower(); +#endif } else { //mute