From 231e51fce10d50ed8d65e06280160bd75d0cb794 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 27 Jan 2014 18:13:13 +0100 Subject: [PATCH] mSHTDCNT init var --- src/driver/shutdown_count.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/driver/shutdown_count.cpp b/src/driver/shutdown_count.cpp index 92fcc1c6f..0bd113656 100644 --- a/src/driver/shutdown_count.cpp +++ b/src/driver/shutdown_count.cpp @@ -39,6 +39,8 @@ SHTDCNT::SHTDCNT() { + sleep_cnt = 0; + shutdown_cnt = 0; } SHTDCNT* SHTDCNT::getInstance()