Skip to content

Feature/time types#64

Merged
MabezDev merged 4 commits into
esp-rs:mainfrom
JurajSadel:feature/time_types
May 31, 2022
Merged

Feature/time types#64
MabezDev merged 4 commits into
esp-rs:mainfrom
JurajSadel:feature/time_types

Conversation

@JurajSadel

Copy link
Copy Markdown
Contributor

Closes #24

@MabezDev

Copy link
Copy Markdown
Member

To fix the compile errors, although we don't want to touch the utils too much, we'll need to add a conversion from TICKS to NanoSecondsu32. I think you can use https://docs.rs/fugit/0.3.5/fugit/struct.Duration.html#method.from_ticks to do that.

@MabezDev MabezDev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good from my end, just a small nit about the examples, nothing to worry about though.

Comment thread esp32-hal/examples/i2c_display.rs Outdated
@JurajSadel JurajSadel marked this pull request as ready for review May 30, 2022 11:57
@MabezDev MabezDev merged commit b382a01 into esp-rs:main May 31, 2022
@JurajSadel JurajSadel deleted the feature/time_types branch February 28, 2023 07:51
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

Successfully merging this pull request may close these issues.

Time types

3 participants