Mercurial > pt1
changeset 144:5e4290a4cd01
follow BS Japan's transponder migration
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 16 Apr 2018 01:24:18 +0900 |
parents | d56831676696 |
children | 75423932bfaa |
files | recpt1/pt1_dev.h recpt1/recpt1core.c |
diffstat | 2 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/recpt1/pt1_dev.h Mon Apr 16 00:43:19 2018 +0900 +++ b/recpt1/pt1_dev.h Mon Apr 16 01:24:18 2018 +0900 @@ -32,8 +32,8 @@ ISDB_T_FREQ_CONV_TABLE isdb_t_conv_table[] = { { 0, CHTYPE_SATELLITE, 0, "151"}, /* 151ch:BS朝日 */ { 0, CHTYPE_SATELLITE, 1, "161"}, /* 161ch:BS-TBS */ + { 0, CHTYPE_SATELLITE, 2, "171"}, /* 171ch:BSジャパン */ { 1, CHTYPE_SATELLITE, 0, "191"}, /* 191ch:WOWOW prime */ - { 1, CHTYPE_SATELLITE, 1, "171"}, /* 171ch:BSジャパン */ { 2, CHTYPE_SATELLITE, 0, "192"}, /* 192ch:WOWOWライブ */ { 2, CHTYPE_SATELLITE, 1, "193"}, /* 193ch:WOWOWシネマ */ { 3, CHTYPE_SATELLITE, 0, "201"}, /* 201ch:スター・チャンネル2 */
--- a/recpt1/recpt1core.c Mon Apr 16 00:43:19 2018 +0900 +++ b/recpt1/recpt1core.c Mon Apr 16 01:24:18 2018 +0900 @@ -9,12 +9,12 @@ /* globals */ boolean f_exit = FALSE; -char bs_channel_buf[8]; +char bs_channel_buf[20]; ISDB_T_FREQ_CONV_TABLE isdb_t_conv_set = { 0, CHTYPE_SATELLITE, 0, bs_channel_buf }; #if 0 -/* lookup frequency conversion table*/ +/* lookup frequency conversion table */ ISDB_T_FREQ_CONV_TABLE * searchrecoff(char *channel) { @@ -31,14 +31,13 @@ } return NULL; } -#endif - -/* lookup frequency conversion table*/ +#else +/* lookup frequency conversion table */ ISDB_T_FREQ_CONV_TABLE * searchrecoff(char *channel) { int lp; - + printf("channel = %s\n", channel); if(channel[0] == 'B' && channel[1] == 'S') { int node = 0; int slot = 0; @@ -73,6 +72,7 @@ } return NULL; } +#endif int close_tuner(thread_data *tdata)