0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 20:33:53 +01:00
This commit is contained in:
2025-03-22 21:18:16 +01:00
parent 61cfe716d2
commit 52af1955e0
2 changed files with 5 additions and 3 deletions

View File

@@ -116,8 +116,10 @@ float get_rds_sample(RDSModulator* rdsMod, uint8_t stream) {
if (rdsMod->params.rdsgen == 0) {
tooutput = 0;
} else {
if (stream == 1) {
tooutput = 0;
if(rdsMod->params.rdsgen == 1) {
if (stream == 1) {
tooutput = 0;
}
}
}
return sample*rdsMod->params.level*tooutput;