summaryrefslogtreecommitdiff
path: root/imonlcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'imonlcd.c')
-rw-r--r--imonlcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/imonlcd.c b/imonlcd.c
index 79a7d20..f17686e 100644
--- a/imonlcd.c
+++ b/imonlcd.c
@@ -169,7 +169,7 @@ bool cPluginImonlcd::resume() {
bool cPluginImonlcd::suspend() {
if(!m_bSuspend) {
- m_dev.close();
+ m_dev.shutdown(eOnExitMode_BLANKSCREEN);
m_bSuspend = true;
return true;
}
@@ -195,7 +195,7 @@ void cPluginImonlcd::Stop(void)
statusMonitor = NULL;
}
- m_dev.close();
+ m_dev.shutdown(theSetup.m_nOnExit);
if(m_szDevice) {
free(m_szDevice);