mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-14 08:53:43 +02:00
neutrino: explicitly include vfd/lcd header
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).
This commit is contained in:
7
src/driver/display.h
Normal file
7
src/driver/display.h
Normal file
@@ -0,0 +1,7 @@
|
||||
/* 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
|
Reference in New Issue
Block a user