- unify handling of ca header

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-12-22 20:17:14 +01:00
committed by Thilo Graf
parent e84e5c8647
commit e478e35f0e
6 changed files with 11 additions and 13 deletions

View File

@@ -67,8 +67,7 @@ endif
pkginclude_HEADERS = \ pkginclude_HEADERS = \
include/audio_hal.h \ include/audio_hal.h \
include/ca_cs.h \ include/ca_hal.h \
include/ca.h \
include/cs_api.h \ include/cs_api.h \
include/ca_ci.h \ include/ca_ci.h \
include/cs_types.h \ include/cs_types.h \

View File

@@ -1,5 +1,5 @@
#ifndef __CA_H_ #ifndef __ca_ci__
#define __CA_H_ #define __ca_ci__
#include <config.h> #include <config.h>
#include <stdint.h> #include <stdint.h>
@@ -362,4 +362,4 @@ public:
virtual ~cCA(); virtual ~cCA();
}; };
#endif ///__CA_H_ #endif // __ca_ci__

View File

@@ -1 +0,0 @@
#include "ca.h"

View File

@@ -4,8 +4,8 @@
#if HAVE_DUCKBOX_HARDWARE || HAVE_ARM_HARDWARE #if HAVE_DUCKBOX_HARDWARE || HAVE_ARM_HARDWARE
#include "ca_ci.h" #include "ca_ci.h"
#else #else
#ifndef __CA_LIBTRIPLE_H_ #ifndef __ca_hal__
#define __CA_LIBTRIPLE_H_ #define __ca_hal__
#include <stdint.h> #include <stdint.h>
#include "cs_types.h" #include "cs_types.h"
@@ -122,5 +122,5 @@ public:
virtual ~cCA(); virtual ~cCA();
}; };
#endif // __CA_LIBTRIPLE_H_ #endif // __ca_hal__
#endif // HAVE_DUCKBOX_HARDWARE #endif // HAVE_DUCKBOX_HARDWARE

View File

@@ -1,5 +1,5 @@
#ifndef __DUCKBOX_VFD__ #ifndef __CS_FRONTPANEL_H_
#define __DUCKBOX_VFD__ #define __CS_FRONTPANEL_H_
#define VFDDISPLAYCHARS 0xc0425a00 #define VFDDISPLAYCHARS 0xc0425a00
#define VFDWRITECGRAM 0x40425a01 #define VFDWRITECGRAM 0x40425a01
@@ -317,4 +317,4 @@ typedef struct {
bool number_support; bool number_support;
} fp_display_caps_t; } fp_display_caps_t;
#endif /* __DUCKBOX_VFD__ */ #endif // __CS_FRONTPANEL_H_

View File

@@ -5,7 +5,7 @@
#include <stdio.h> #include <stdio.h>
#include "dvbci_mmi.h" #include "dvbci_mmi.h"
#include <ca_cs.h> #include <ca_hal.h>
eDVBCIMMISession::eDVBCIMMISession(eDVBCISlot *tslot) eDVBCIMMISession::eDVBCIMMISession(eDVBCISlot *tslot)
{ {