- introduce ca.h compatibility header file

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

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

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