Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change to embedded-graphics-core and update embedded-hal #24

Merged
merged 2 commits into from
Mar 14, 2024

Conversation

tarfu
Copy link

@tarfu tarfu commented Sep 21, 2023

Use embedded-graphics-core 0.4 and embedded-hal 1.0.0-rc.1

Cargo.toml Outdated Show resolved Hide resolved
@@ -117,7 +117,7 @@ where

pub fn hard_reset<DELAY>(&mut self, delay: &mut DELAY) -> Result<(), ()>
where
DELAY: DelayMs<u8>,
DELAY: DelayNs,
Copy link
Owner

Choose a reason for hiding this comment

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

What is the reason for changing to DelayNs? I think maybe not all devices support nanosecond resolution and we definitely don't need it here.

Copy link
Author

Choose a reason for hiding this comment

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

Because it is the only trait which can be implemented in 1.0.0 if I haven't missed something.

Copy link
Owner

Choose a reason for hiding this comment

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

I see.

@sajattack sajattack merged commit 9bcaffb into sajattack:master Mar 14, 2024
1 check passed
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.

3 participants