Skip to content

Use TW_STATUS macro #1

@AndreiCherniaev

Description

@AndreiCherniaev

I suggest to use TW_STATUS macro from avr-libc instead of switch (status & I2C_STATUS_MASK).
By this way your code will transform to switch (TW_STATUS)

switch (status & I2C_STATUS_MASK)

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