Skip to content

Typo in src/main/java/de/serosystems/lib1090/msgs/bds/DataLinkCapabilityReport.java #24

Closed
@lvalkenbergECTRL

Description

@lvalkenbergECTRL

Hello, for BDS 1,0 the following function (line 447):

static boolean extractChangeFlag(byte[] message) {
    return ((message[5] >>> 5) & 0x01) == 1;
}

decode the same bit as this one (line 431):

static boolean extractPhaseOverlayExtendedSquitterCapability(byte[] message) {
    return ((message[5] >>> 5) & 0x01) == 1;
}

I'm wondering if there is a typo in extractChangeFlag() ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions