Fix mistake in CXD2820R check.
This commit is contained in:
parent
f22683e870
commit
5da648f447
1 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define _GNU_SOURCE
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
@ -511,7 +512,7 @@ tda_add(int adapter_num)
|
||||||
dvb_adapter_checkspeed(tda);
|
dvb_adapter_checkspeed(tda);
|
||||||
|
|
||||||
|
|
||||||
if(!strcmp(tda->tda_fe_info->name, "Sony CXD2820R"))
|
if(strcasestr(tda->tda_fe_info->name, "Sony CXD2820R"))
|
||||||
tda->tda_snr_valid = 1;
|
tda->tda_snr_valid = 1;
|
||||||
|
|
||||||
tvhlog(LOG_INFO, "dvb",
|
tvhlog(LOG_INFO, "dvb",
|
||||||
|
|
Loading…
Add table
Reference in a new issue