add osmio4k / osmio4kplus not yet ready

Origin commit data
------------------
Branch: master
Commit: 0df05330fa
Author: max_10 <max_10@gmx.de>
Date: 2019-09-26 (Thu, 26 Sep 2019)

Origin message was:
------------------
- add osmio4k / osmio4kplus not yet ready

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2019-09-26 15:47:43 +02:00
committed by vanhofen
parent 5ec3c9e6f6
commit 473425929e
6 changed files with 79 additions and 5 deletions

View File

@@ -1,4 +1,10 @@
#if HAVE_DUCKBOX_HARDWARE || (HAVE_ARM_HARDWARE && !BOXMODEL_HD60) || HAVE_MIPS_HARDWARE
#if HAVE_DUCKBOX_HARDWARE \
|| HAVE_MIPS_HARDWARE \
|| (HAVE_ARM_HARDWARE \
&& !BOXMODEL_HD60 \
&& !BOXMODEL_OSMIO4K \
&& !BOXMODEL_OSMIO4KPLUS \
)
#include "ca_ci.h"
#else
#include "ca.h"

View File

@@ -23,7 +23,13 @@ inline void cs_api_exit()
#define cs_free_uncached free
// Callback function helpers
#if HAVE_DUCKBOX_HARDWARE || (HAVE_ARM_HARDWARE && !BOXMODEL_HD60) || HAVE_MIPS_HARDWARE
#if HAVE_DUCKBOX_HARDWARE \
|| HAVE_MIPS_HARDWARE \
|| (HAVE_ARM_HARDWARE \
&& !BOXMODEL_HD60 \
&& !BOXMODEL_OSMIO4K \
&& !BOXMODEL_OSMIO4KPLUS \
)
void cs_register_messenger(cs_messenger messenger);
#else
static inline void cs_register_messenger(cs_messenger) { return; };