fix build for boxtype "generic"

Origin commit data
------------------
Branch: ni/coolstream
Commit: 0061aac2b3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-10-06 (Sat, 06 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-10-06 18:11:20 +02:00
parent 485656f13a
commit 16256c1512
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);