i really idk

This commit is contained in:
2025-03-17 18:13:04 +01:00
parent 6a9dfcfbc5
commit 64ac21db46
+1 -1
View File
@@ -217,7 +217,7 @@ static void get_rds_ps_group(RDSEncoder* enc, uint16_t *blocks) {
} }
} else { } else {
if(enc->data[enc->program].dps1_len > PS_LENGTH) { if(enc->data[enc->program].dps1_len > PS_LENGTH) {
uint8_t scroll_threshold = (enc->data[enc->program].dps1_mode == 0) ? 8 : 6; uint8_t scroll_threshold = (enc->data[enc->program].dps_speed == 0) ? 8 : 6;
if(enc->state[enc->program].dynamic_ps_scroll_counter >= scroll_threshold) { if(enc->state[enc->program].dynamic_ps_scroll_counter >= scroll_threshold) {
switch(enc->data[enc->program].dps1_mode) { switch(enc->data[enc->program].dps1_mode) {