You've already forked fm-dx-webserver
mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-02-26 22:13:53 +01:00
Don't output PI 0000 as filler on rds websocket
Output four dashes instead of 0000 as a PI placeholder, for correct RDS Spy compatibility
This commit is contained in:
@@ -354,7 +354,7 @@ function handleData(wss, receivedData, rdsWss) {
|
|||||||
// error correction, but this is a good substitute.
|
// error correction, but this is a good substitute.
|
||||||
errorsNew = (legacyRdsPiBuffer.length - 4) << 6;
|
errorsNew = (legacyRdsPiBuffer.length - 4) << 6;
|
||||||
} else {
|
} else {
|
||||||
pi = '0000';
|
pi = '----';
|
||||||
errorsNew = (0x03 << 6);
|
errorsNew = (0x03 << 6);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user