mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
make lt_dfbinput a c++ file
this allows to put the videowatchdog into the same thread later
This commit is contained in:
@@ -6,7 +6,7 @@ noinst_LIBRARIES = libtriple.a
|
||||
AM_CXXFLAGS = -fno-rtti -fno-exceptions -fno-strict-aliasing
|
||||
|
||||
libtriple_a_SOURCES = \
|
||||
lt_dfbinput.c \
|
||||
lt_dfbinput.cpp \
|
||||
lt_debug.cpp \
|
||||
dmx_td.cpp \
|
||||
ca.cpp \
|
||||
|
@@ -15,8 +15,8 @@ extern "C" {
|
||||
#include <tdpanel/ir_ruwido.h>
|
||||
#include <hardware/avs/avs_inf.h>
|
||||
#include <hardware/avs/bios_system_config.h>
|
||||
#include "lt_dfbinput.h"
|
||||
}
|
||||
#include "lt_dfbinput.h"
|
||||
|
||||
#include "lt_debug.h"
|
||||
#define lt_debug(args...) _lt_debug(TRIPLE_DEBUG_INIT, NULL, args)
|
||||
|
@@ -129,7 +129,7 @@ static DFBEnumerationResult enum_input_device(DFBInputDeviceID device_id,
|
||||
DFBInputDeviceDescription desc,
|
||||
void *data)
|
||||
{
|
||||
DeviceInfo **devices = data;
|
||||
DeviceInfo **devices = (DeviceInfo **)data;
|
||||
DeviceInfo *device;
|
||||
|
||||
device = (DeviceInfo *)malloc(sizeof(DeviceInfo));
|
Reference in New Issue
Block a user