From 13740f57b6091243235ec1be87b08ea3a0bab88d Mon Sep 17 00:00:00 2001 From: max10 Date: Fri, 24 Apr 2015 22:28:23 +0200 Subject: [PATCH] spark7162 without evremote2 --- libspark/init.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libspark/init.cpp b/libspark/init.cpp index dcbca24..d14c0ed 100644 --- a/libspark/init.cpp +++ b/libspark/init.cpp @@ -1,3 +1,6 @@ + +#include + #include #include "init_lib.h" @@ -268,7 +271,7 @@ void init_td_api() { cCpuFreqManager f; f.SetCpuFreq(0); /* CPUFREQ == 0 is the trigger for leaving standby */ -#if 0 +#ifdef BOXMODEL_SPARK7162 create_input_devices(); start_inmux_thread(); #endif @@ -291,7 +294,7 @@ void init_td_api() close(dmx); } } -#if 0 +#ifdef BOXMODEL_SPARK7162 else reopen_input_devices(); #endif @@ -302,7 +305,7 @@ void init_td_api() void shutdown_td_api() { lt_info("%s, initialized = %d\n", __FUNCTION__, (int)initialized); -#if 0 +#ifdef BOXMODEL_SPARK7162 if (initialized) { stop_inmux_thread(); close_input_devices();