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:
Stefan Seyfried
2013-05-11 17:17:33 +02:00
parent 8047f65815
commit 6b72095f5a
33 changed files with 41 additions and 2 deletions

7
src/driver/display.h Normal file
View 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