mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-27 04:43:52 +01:00
change the grp seq
This commit is contained in:
@@ -235,7 +235,7 @@ static void handle_program(unsigned char *arg, RDSModulator* mod) {
|
|||||||
static void handle_grpseq(unsigned char *arg, RDSModulator* mod) {
|
static void handle_grpseq(unsigned char *arg, RDSModulator* mod) {
|
||||||
if (arg[0] == '\0') {
|
if (arg[0] == '\0') {
|
||||||
memset(&(mod->enc->data[mod->enc->program].grp_sqc), 0, 24);
|
memset(&(mod->enc->data[mod->enc->program].grp_sqc), 0, 24);
|
||||||
memcpy(&(mod->enc->data[mod->enc->program].grp_sqc), DEFAULT_GRPSQC, sizeof(mod->enc->data[mod->enc->program].grp_sqc));
|
memcpy(&(mod->enc->data[mod->enc->program].grp_sqc), DEFAULT_GRPSQC, 24);
|
||||||
} else {
|
} else {
|
||||||
memset(&(mod->enc->data[mod->enc->program].grp_sqc), 0, 24);
|
memset(&(mod->enc->data[mod->enc->program].grp_sqc), 0, 24);
|
||||||
memcpy(&(mod->enc->data[mod->enc->program].grp_sqc), arg, 24);
|
memcpy(&(mod->enc->data[mod->enc->program].grp_sqc), arg, 24);
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#define PS_LENGTH 8
|
#define PS_LENGTH 8
|
||||||
#define PTYN_LENGTH 8
|
#define PTYN_LENGTH 8
|
||||||
#define LPS_LENGTH 32
|
#define LPS_LENGTH 32
|
||||||
#define DEFAULT_GRPSQC "022E1022EA022XYR"
|
#define DEFAULT_GRPSQC "02222FA1RXY"
|
||||||
#define MAX_AFS 25
|
#define MAX_AFS 25
|
||||||
|
|
||||||
#define AF_CODE_FILLER 205
|
#define AF_CODE_FILLER 205
|
||||||
|
|||||||
Reference in New Issue
Block a user