don't use malloc in the rds modulator

This commit is contained in:
2025-03-12 15:39:09 +01:00
parent c65a69a328
commit eeace56821
7 changed files with 31 additions and 58 deletions
+2 -4
View File
@@ -1,8 +1,8 @@
/* RDS signal context */
typedef struct rds_t {
uint8_t *bit_buffer; /* BITS_PER_GROUP */
uint8_t bit_buffer[BITS_PER_GROUP];
uint8_t bit_pos;
float *sample_buffer; /* SAMPLE_BUFFER_SIZE */
float sample_buffer[SAMPLE_BUFFER_SIZE];
uint8_t prev_output;
uint8_t cur_output;
uint8_t cur_bit;
@@ -12,5 +12,3 @@ typedef struct rds_t {
} rds_t;
extern void init_rds_objects();
extern void exit_rds_objects();