comparison recpt1/recpt1core.c @ 144:5e4290a4cd01

follow BS Japan's transponder migration
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 16 Apr 2018 01:24:18 +0900
parents c8688d7d6382
children 75423932bfaa
comparison
equal deleted inserted replaced
143:d56831676696 144:5e4290a4cd01
7 #define ISDB_T_NODE_LIMIT 24 // 32:ARIB limit 24:program maximum 7 #define ISDB_T_NODE_LIMIT 24 // 32:ARIB limit 24:program maximum
8 #define ISDB_T_SLOT_LIMIT 8 8 #define ISDB_T_SLOT_LIMIT 8
9 9
10 /* globals */ 10 /* globals */
11 boolean f_exit = FALSE; 11 boolean f_exit = FALSE;
12 char bs_channel_buf[8]; 12 char bs_channel_buf[20];
13 ISDB_T_FREQ_CONV_TABLE isdb_t_conv_set = { 0, CHTYPE_SATELLITE, 0, bs_channel_buf }; 13 ISDB_T_FREQ_CONV_TABLE isdb_t_conv_set = { 0, CHTYPE_SATELLITE, 0, bs_channel_buf };
14 14
15 15
16 #if 0 16 #if 0
17 /* lookup frequency conversion table*/ 17 /* lookup frequency conversion table */
18 ISDB_T_FREQ_CONV_TABLE * 18 ISDB_T_FREQ_CONV_TABLE *
19 searchrecoff(char *channel) 19 searchrecoff(char *channel)
20 { 20 {
21 int lp; 21 int lp;
22 22
29 return &isdb_t_conv_table[lp]; 29 return &isdb_t_conv_table[lp];
30 } 30 }
31 } 31 }
32 return NULL; 32 return NULL;
33 } 33 }
34 #endif 34 #else
35 35 /* lookup frequency conversion table */
36 /* lookup frequency conversion table*/
37 ISDB_T_FREQ_CONV_TABLE * 36 ISDB_T_FREQ_CONV_TABLE *
38 searchrecoff(char *channel) 37 searchrecoff(char *channel)
39 { 38 {
40 int lp; 39 int lp;
41 40 printf("channel = %s\n", channel);
42 if(channel[0] == 'B' && channel[1] == 'S') { 41 if(channel[0] == 'B' && channel[1] == 'S') {
43 int node = 0; 42 int node = 0;
44 int slot = 0; 43 int slot = 0;
45 char *bs_ch; 44 char *bs_ch;
46 45
71 return &isdb_t_conv_table[lp]; 70 return &isdb_t_conv_table[lp];
72 } 71 }
73 } 72 }
74 return NULL; 73 return NULL;
75 } 74 }
75 #endif
76 76
77 int 77 int
78 close_tuner(thread_data *tdata) 78 close_tuner(thread_data *tdata)
79 { 79 {
80 int rv = 0; 80 int rv = 0;