- 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

@@ -1,5 +1,5 @@
#ifndef __CA_H_
#define __CA_H_
#ifndef __ca_ci__
#define __ca_ci__
#include <config.h>
#include <stdint.h>
@@ -362,4 +362,4 @@ public:
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
#include "ca_ci.h"
#else
#ifndef __CA_LIBTRIPLE_H_
#define __CA_LIBTRIPLE_H_
#ifndef __ca_hal__
#define __ca_hal__
#include <stdint.h>
#include "cs_types.h"
@@ -122,5 +122,5 @@ public:
virtual ~cCA();
};
#endif // __CA_LIBTRIPLE_H_
#endif // __ca_hal__
#endif // HAVE_DUCKBOX_HARDWARE

View File

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