Skip to content

No need to wait after a Wire.requestFrom(). #3

@Koepel

Description

@Koepel

In the file "EveKnob.ino" in the function "AS5048_GetRaw()", there is a while-statement after a Wire.requestFrom().
That while-statement can be removed, there is nothing to wait for, it is nonsense code.
Explanation: Common-mistakes#1

The while-statement is at the moment at line 413: https://github.com/MatrixOrbital/EVE-Knob/blob/master/EveKnob.ino#L413

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