Skip to content
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

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

Open
lvalkenbergECTRL opened this issue Sep 16, 2024 · 0 comments

Comments

@lvalkenbergECTRL
Copy link

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() ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant