Skip to content

Why this equation in the channel const? #70

Open
@damccull

Description

@damccull

What is the purpose of this equation in the channel const I the DmxSerialRecv.ino example line 29?

const int startChannel = 0 * 3 + 1;

Doesn't this just get compiler optimized to 1, then further optimized into individual values and inlined further down where it's used?

What does this do?

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions