0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-27 04:43:52 +01:00

adjust scroll

This commit is contained in:
2025-03-17 20:29:30 +01:00
parent 47a48ebf74
commit 8cf48f46ba

View File

@@ -237,7 +237,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].dps_speed == 0) ? 4 : 2; uint8_t scroll_threshold = (enc->data[enc->program].dps_speed == 0) ? 2 : 1;
if(enc->state[enc->program].dynamic_ps_scroll_counter >= scroll_threshold) { if(enc->state[enc->program].dynamic_ps_scroll_counter >= scroll_threshold) {
if(enc->state[enc->program].dynamic_ps_position >= enc->data[enc->program].dps1_len) { if(enc->state[enc->program].dynamic_ps_position >= enc->data[enc->program].dps1_len) {