move compatibility headers to /lib/hardware

Origin commit data
------------------
Branch: ni/coolstream
Commit: 651a56aab8
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-12-21 (Fri, 21 Dec 2018)

Origin message was:
------------------
- move compatibility headers to /lib/hardware

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-12-21 22:30:34 +01:00
parent eae3a84ab5
commit 774b23685e
59 changed files with 83 additions and 81 deletions

8
lib/hardware/audio.h Normal file
View File

@@ -0,0 +1,8 @@
#if HAVE_COOL_HARDWARE
#include <audio_cs.h>
#elif USE_STB_HAL
#include <audio_hal.h>
#else
#error neither HAVE_COOL_HARDWARE nor USE_STB_HAL defined.
#error do you need to include config.h?
#endif

8
lib/hardware/dmx.h Normal file
View File

@@ -0,0 +1,8 @@
#if HAVE_COOL_HARDWARE
#include <dmx_cs.h>
#elif USE_STB_HAL
#include <dmx_hal.h>
#else
#error neither HAVE_COOL_HARDWARE nor USE_STB_HAL defined.
#error do you need to include config.h?
#endif

10
lib/hardware/video.h Normal file
View File

@@ -0,0 +1,10 @@
#if HAVE_COOL_HARDWARE
#include <cs_api.h>
#include <video_cs.h>
#elif USE_STB_HAL
#include <init_td.h>
#include <video_hal.h>
#else
#error neither HAVE_COOL_HARDWARE nor USE_STB_HAL defined.
#error do you need to include config.h?
#endif