mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
fast scan: fix params (pointer to local variable passed)
Origin commit data
------------------
Branch: ni/coolstream
Commit: 30e4f55a2a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-10-28 (Sun, 28 Oct 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include <zapit/channel.h>
|
||||
#include <zapit/bouquets.h>
|
||||
#include <zapit/femanager.h>
|
||||
#include <zapit/fastscan.h>
|
||||
|
||||
#define PAL 0
|
||||
#define NTSC 1
|
||||
@@ -130,7 +131,9 @@ class CZapit : public OpenThreads::Thread
|
||||
|
||||
CZapitChannel * current_channel;
|
||||
t_channel_id live_channel_id;
|
||||
/* scan params */
|
||||
TP_params TP;
|
||||
fast_scan_type_t scant;
|
||||
|
||||
CFrontend * live_fe;
|
||||
|
||||
|
@@ -63,13 +63,13 @@ void CServiceScan::InitFastscanLnb(int id)
|
||||
switch(id) {
|
||||
default:
|
||||
case CD_OPERATOR_ID:
|
||||
case OPERATOR_TVV:
|
||||
case TVV_OPERATOR_ID:
|
||||
satmap[192].diseqc = 0;
|
||||
satmap[235].diseqc = 1;
|
||||
satmap[282].diseqc = 2;
|
||||
satmap[130].diseqc = 3;
|
||||
break;
|
||||
case OPERATOR_TELESAT:
|
||||
case TELESAT_OPERATOR_ID:
|
||||
satmap[130].diseqc = 0;
|
||||
satmap[192].diseqc = 1;
|
||||
satmap[235].diseqc = 2;
|
||||
|
@@ -807,8 +807,6 @@ bool CZapit::StartScanTP(TP_params * TPparams)
|
||||
|
||||
bool CZapit::StartFastScan(int scan_mode, int opid)
|
||||
{
|
||||
fast_scan_type_t scant;
|
||||
|
||||
scant.type = scan_mode;
|
||||
scant.op = (fs_operator_t) opid;
|
||||
|
||||
|
Reference in New Issue
Block a user