0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 20:33:53 +01:00

theres literally nothing wrong dawg

This commit is contained in:
2025-03-15 12:48:41 +01:00
parent 63b513267d
commit 09405f5913
2 changed files with 2 additions and 2 deletions

View File

@@ -235,7 +235,7 @@ static void handle_program(unsigned char *arg, RDSModulator* mod) {
static void handle_grpseq(unsigned char *arg, RDSModulator* mod) {
if (arg[0] == '\0') {
memset(&(mod->enc->data[mod->enc->program].grp_sqc), 0, 24);
memcpy(&(mod->enc->data[mod->enc->program].grp_sqc), DEFAULT_GRPSQC, 24);
memcpy(&(mod->enc->data[mod->enc->program].grp_sqc), (unsigned char*)DEFAULT_GRPSQC, 24);
} else {
memset(&(mod->enc->data[mod->enc->program].grp_sqc), 0, 24);
memcpy(&(mod->enc->data[mod->enc->program].grp_sqc), arg, 24);

View File

@@ -19,7 +19,7 @@
#define PS_LENGTH 8
#define PTYN_LENGTH 8
#define LPS_LENGTH 32
#define DEFAULT_GRPSQC (unsigned char*)"02222FA1RXY"
#define DEFAULT_GRPSQC "02222FA1RXY"
#define MAX_AFS 25
#define AF_CODE_FILLER 205