Skip to content

RDS PI Code shows only 2 symbols. #34

@oleksii-b-username

Description

@oleksii-b-username

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions