Skip to content

Statically typed time #230

Open
Open
@TheZoq2

Description

@TheZoq2

We have some time_us variables laying around, for example in the blocking i2c implementation

I think it might be better to use the MicroSecond/MilliSecond structs defined in time.rs instead, for reducing the risk of errors, and making clear what the unit is at the call site

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