fix build for boxtype "generic"

This commit is contained in:
Stefan Seyfried
2012-10-06 18:11:20 +02:00
parent d806eeb544
commit 0061aac2b3
6 changed files with 28 additions and 5 deletions

View File

@@ -42,6 +42,9 @@
#define DISPLAY_DEV "/proc/vfd"
#define LED_DEV "/proc/led"
#endif
#if HAVE_GENERIC_HARDWARE
#define DISPLAY_DEV "/dev/null"
#endif
static char volume = 0;
//static char percent = 0;
@@ -436,8 +439,7 @@ void CLCD::Clear()
close(fd);
printf("spark_led:%s\n", __func__);
}
#endif
#if HAVE_AZBOX_HARDWARE
#else
void CLCD::Clear()
{
display(" ", false);