Remove one of the adapter statuses

This commit is contained in:
Andreas Öman 2008-04-07 20:43:42 +00:00
parent 8d592df42a
commit 2324265ee7
3 changed files with 3 additions and 7 deletions

View file

@ -39,9 +39,8 @@
static struct strtab adapterstatus[] = {
{ "Unconfigured", TDA_STATE_UNCONFIGURED },
{ "Running", TDA_STATE_RUNNING },
{ "Zombie", TDA_STATE_ZOMBIE },
{ "Hardware detected", TDA_STATE_RUNNING },
{ "Hardware not found", TDA_STATE_ZOMBIE },
};
static void
@ -92,8 +91,6 @@ ajax_adaptersummary(http_connection_t *hc, const char *remain, void *opaque)
"<div>%s</div>",
dvb_adaptertype_to_str(tda->tda_fe_info->type));
tcp_qprintf(&tq, "<div class=\"infoprefix\">Tuner:</div>"
"<div>...</div>");
tcp_qprintf(&tq, "<div style=\"text-align: center\">"
"<a href=\"javascript:void(0);\" "
"onClick=\"new Ajax.Updater('dvbadaptereditor', "

BIN
dvb.c

Binary file not shown.

View file

@ -208,8 +208,7 @@ typedef struct th_dvb_adapter {
LIST_ENTRY(th_dvb_adapter) tda_global_link;
enum {
TDA_STATE_UNCONFIGURED, /* Found but not configured */
TDA_STATE_RUNNING, /* Configured */
TDA_STATE_RUNNING, /* Running */
TDA_STATE_ZOMBIE, /* Configured but not found */
} tda_state;