From 96bdf32c08b5f11c1a6f563b4377ceeeb656bcfc Mon Sep 17 00:00:00 2001 From: mrwastl Date: Wed, 7 Sep 2011 22:30:03 +0200 Subject: CONNECT/DISCONNect feature added (contrib. by superelchi); stability fixes when connecting to unavailable display --- display.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'display.c') diff --git a/display.c b/display.c index e033ab8..e92cf05 100644 --- a/display.c +++ b/display.c @@ -117,6 +117,8 @@ void cGraphLCDDisplay::Action(void) if (mLcd->Init() != 0) { esyslog("graphlcd plugin: ERROR: Failed initializing display\n"); + GraphLCDSetup.PluginActive = 0; + Cancel(-1); // cancel display thread return; } -- cgit v1.2.3