0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-27 12:53: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

@@ -1,5 +1,5 @@
{
"port": 13452,
"time": 1742672909133,
"time": 1742674632085,
"version": "0.0.3"
}

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;