Skip to content

COM_RADIO_SET not working for the third decimal place #73

@mracko

Description

@mracko

I've been trying to implement COM_RADIO_SET, but wasn't able to fully make it work. The problem is the third decimal place.

Example:

I want to tune in to 130.000 MHz. To achieve this, I take 130 * 100 and convert it to BCD16 which is 77824. This value is used in the trigger_event function and works without problems

Next I take the frequency 130.010 MHz. I use the same procedure: 130.01 * 100 converted to BCD16 which is 77825. Works perfectly fine.

I don't know, however, how I can tune in to 130.005 MHz. Obviously, a BCD value of 77824.5 will not work. Or am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions