mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-31 01:09:17 +02:00
fix rds2
This commit is contained in:
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"port": 13452,
|
"port": 13452,
|
||||||
"time": 1742672909133,
|
"time": 1742674632085,
|
||||||
"version": "0.0.3"
|
"version": "0.0.3"
|
||||||
}
|
}
|
||||||
+4
-2
@@ -116,8 +116,10 @@ float get_rds_sample(RDSModulator* rdsMod, uint8_t stream) {
|
|||||||
if (rdsMod->params.rdsgen == 0) {
|
if (rdsMod->params.rdsgen == 0) {
|
||||||
tooutput = 0;
|
tooutput = 0;
|
||||||
} else {
|
} else {
|
||||||
if (stream == 1) {
|
if(rdsMod->params.rdsgen == 1) {
|
||||||
tooutput = 0;
|
if (stream == 1) {
|
||||||
|
tooutput = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return sample*rdsMod->params.level*tooutput;
|
return sample*rdsMod->params.level*tooutput;
|
||||||
|
|||||||
Reference in New Issue
Block a user