Remove one of the adapter statuses
This commit is contained in:
parent
8d592df42a
commit
2324265ee7
3 changed files with 3 additions and 7 deletions
|
@ -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
BIN
dvb.c
Binary file not shown.
3
tvhead.h
3
tvhead.h
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue