total control over rds2 in lua

This commit is contained in:
2025-12-26 13:35:32 +01:00
parent ae482a5f52
commit 1925b09edd
7 changed files with 155 additions and 112 deletions
+2 -3
View File
@@ -1,6 +1,6 @@
#pragma once
#include "common.h"
#define LUA_USER_DATA 1024
#define LUA_USER_DATA 1280
/* The RDS error-detection code generator polynomial is
* x^10 + x^8 + x^7 + x^5 + x^4 + x^3 + x^0
@@ -183,8 +183,7 @@ typedef struct {
} RDSState;
typedef struct {
uint16_t special_features;
uint8_t rds2_mode : 1;
uint8_t rds2_mode : 2;
// uint8_t rds2_buffer[16384];
} RDSEncoderData;
typedef struct {