Skip to content

RDS PI Code shows only 2 symbols. #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
oleksii-b-username opened this issue Mar 6, 2025 · 1 comment
Open

RDS PI Code shows only 2 symbols. #34

oleksii-b-username opened this issue Mar 6, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@oleksii-b-username
Copy link

oleksii-b-username commented Mar 6, 2025

RDS PI Code shows only last 2 symbols.

When using function getRdsPI() it returns only 2 symbols instead of 4.

Suggest fix it in

SI4735.cpp


uint16_t SI4735::getRdsPI(void)
{
    if (getRdsReceived() && getRdsNewBlockA())
    {
    //    return currentRdsStatus.resp.BLOCKAL;
        return (currentRdsStatus.resp.BLOCKAH << 8) | currentRdsStatus.resp.BLOCKAL;

    }
    return 0;
}

thanks you

@oleksii-b-username oleksii-b-username added the bug Something isn't working label Mar 6, 2025
@max-arnold
Copy link

I can confirm this issue. The fix is trivial, can it get merged?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants