spark7162 without evremote2

This commit is contained in:
max10
2015-04-24 22:28:23 +02:00
parent 1bca61569e
commit 13740f57b6

View File

@@ -1,3 +1,6 @@
#include <config.h>
#include <stdio.h> #include <stdio.h>
#include "init_lib.h" #include "init_lib.h"
@@ -268,7 +271,7 @@ void init_td_api()
{ {
cCpuFreqManager f; cCpuFreqManager f;
f.SetCpuFreq(0); /* CPUFREQ == 0 is the trigger for leaving standby */ f.SetCpuFreq(0); /* CPUFREQ == 0 is the trigger for leaving standby */
#if 0 #ifdef BOXMODEL_SPARK7162
create_input_devices(); create_input_devices();
start_inmux_thread(); start_inmux_thread();
#endif #endif
@@ -291,7 +294,7 @@ void init_td_api()
close(dmx); close(dmx);
} }
} }
#if 0 #ifdef BOXMODEL_SPARK7162
else else
reopen_input_devices(); reopen_input_devices();
#endif #endif
@@ -302,7 +305,7 @@ void init_td_api()
void shutdown_td_api() void shutdown_td_api()
{ {
lt_info("%s, initialized = %d\n", __FUNCTION__, (int)initialized); lt_info("%s, initialized = %d\n", __FUNCTION__, (int)initialized);
#if 0 #ifdef BOXMODEL_SPARK7162
if (initialized) { if (initialized) {
stop_inmux_thread(); stop_inmux_thread();
close_input_devices(); close_input_devices();