summaryrefslogtreecommitdiff
authorAlex Deng <alex.deng@amlogic.com>2015-01-23 09:37:02 (GMT)
committer Alex Deng <alex.deng@amlogic.com>2015-01-26 05:24:06 (GMT)
commitc0558b0ca4ec5d7bfe59f08f4bebd727ea6bdb68 (patch)
tree97185aa4e574925c3209eac4faac0ccd425ab64a
parent381a76682f275304c204a029e3ea163b1c7a3a5a (diff)
downloadsystem-c0558b0ca4ec5d7bfe59f08f4bebd727ea6bdb68.zip
system-c0558b0ca4ec5d7bfe59f08f4bebd727ea6bdb68.tar.gz
system-c0558b0ca4ec5d7bfe59f08f4bebd727ea6bdb68.tar.bz2
PD 101043:use 0 for both periodic_chores_interval_fast/slow
to disable the timer in mbox ui mode. Change-Id: Idb9ea360a991c397c2f27fe583ce44cabba1c7f9
Diffstat
-rw-r--r--libhealthd/healthd_board_mbox_default.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libhealthd/healthd_board_mbox_default.cpp b/libhealthd/healthd_board_mbox_default.cpp
index 26714c3..413e55a 100644
--- a/libhealthd/healthd_board_mbox_default.cpp
+++ b/libhealthd/healthd_board_mbox_default.cpp
@@ -16,9 +16,11 @@
#include <healthd.h>
-void healthd_board_init(struct healthd_config*)
+void healthd_board_init(struct healthd_config* hc)
{
// use defaults
+ hc->periodic_chores_interval_fast = 0;
+ hc->periodic_chores_interval_slow = 0;
}