Changeset 1740 for trunk/module-dvbapi.c


Ignore:
Timestamp:
Feb 28, 2010, 9:00:40 AM (10 years ago)
Author:
merek
Message:

Revert last changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module-dvbapi.c

    r1739 r1740  
    2222
    2323#include "globals.h"
    24 #include "oscam-config.h"
    2524
    2625#define BUFSIZE 512
     
    278277    else
    279278    {
    280 #ifdef TUXBOX
    281         if (cs_hw==CS_HW_DREAM)
    282             ca_offset=0;
    283         else
    284 #endif
     279        if (strcmp(cfg->dvbapi_boxtype, "ufs910")==0 || strcmp(cfg->dvbapi_boxtype, "dbox2")==0)
    285280            ca_offset=1;
    286281
     
    10721067    }
    10731068
     1069    if (cfg->dvbapi_boxtype[0]==0) {
     1070        strncpy(cfg->dvbapi_boxtype, "dreambox", sizeof(cfg->dvbapi_boxtype)-1);
     1071        cs_log("dvbapi: boxtype not set. Assume boxtype=%s.", cfg->dvbapi_boxtype);
     1072    } else
     1073        cs_log("dvbapi: boxtype=%s.", cfg->dvbapi_boxtype);
     1074
    10741075    for (i=0;i<MAX_DEMUX;i++)
    10751076    {
Note: See TracChangeset for help on using the changeset viewer.