mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
Instead of including it everywhere through global.h, just include the lcd/vfd header where needed. Add a tiny helper header "display.h" to divert between vfd.h (coolstream) and lcdd.h (everything else).
8 lines
235 B
C
8 lines
235 B
C
/* helper for different display CVFD implementations */
|
|
#if HAVE_COOL_HARDWARE
|
|
#include <driver/vfd.h>
|
|
#endif
|
|
#if HAVE_TRIPLEDRAGON || HAVE_SPARK_HARDWARE || HAVE_AZBOX_HARDWARE || HAVE_GENERIC_HARDWARE
|
|
#include <driver/lcdd.h>
|
|
#endif
|