Update rds.c

set PTY to 'Country Music'
This commit is contained in:
jumkey 2015-09-19 04:23:13 +08:00
parent c0d45323e4
commit 0d09013a64
1 changed files with 2 additions and 1 deletions

View File

@ -143,6 +143,7 @@ void get_rds_group(int *buffer) {
state++;
if(state >= 5) state = 0;
}
blocks[1] = (blocks[1] & 0xFC1F) | 0x320;// (blocks[1] & 1111110000011111) | 000000<i>11001</i>00000 11001-Country Music
// Calculate the checkword for each block and emit the bits
for(int i=0; i<GROUP_LENGTH; i++) {
@ -252,4 +253,4 @@ void set_rds_ps(char *ps) {
void set_rds_ta(int ta) {
rds_params.ta = ta;
}
}