mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +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
|
AM_CXXFLAGS = -fno-rtti -fno-exceptions -fno-strict-aliasing
|
||||||
|
|
||||||
libtriple_a_SOURCES = \
|
libtriple_a_SOURCES = \
|
||||||
lt_dfbinput.c \
|
lt_dfbinput.cpp \
|
||||||
lt_debug.cpp \
|
lt_debug.cpp \
|
||||||
dmx_td.cpp \
|
dmx_td.cpp \
|
||||||
ca.cpp \
|
ca.cpp \
|
||||||
|
@@ -15,8 +15,8 @@ extern "C" {
|
|||||||
#include <tdpanel/ir_ruwido.h>
|
#include <tdpanel/ir_ruwido.h>
|
||||||
#include <hardware/avs/avs_inf.h>
|
#include <hardware/avs/avs_inf.h>
|
||||||
#include <hardware/avs/bios_system_config.h>
|
#include <hardware/avs/bios_system_config.h>
|
||||||
#include "lt_dfbinput.h"
|
|
||||||
}
|
}
|
||||||
|
#include "lt_dfbinput.h"
|
||||||
|
|
||||||
#include "lt_debug.h"
|
#include "lt_debug.h"
|
||||||
#define lt_debug(args...) _lt_debug(TRIPLE_DEBUG_INIT, NULL, args)
|
#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,
|
DFBInputDeviceDescription desc,
|
||||||
void *data)
|
void *data)
|
||||||
{
|
{
|
||||||
DeviceInfo **devices = data;
|
DeviceInfo **devices = (DeviceInfo **)data;
|
||||||
DeviceInfo *device;
|
DeviceInfo *device;
|
||||||
|
|
||||||
device = (DeviceInfo *)malloc(sizeof(DeviceInfo));
|
device = (DeviceInfo *)malloc(sizeof(DeviceInfo));
|
Reference in New Issue
Block a user