rust-embedded / embedded-hal

A Hardware Abstraction Layer (HAL) for embedded systems
Apache License 2.0
1.95k stars 197 forks source link

embedded-hal: digital: add #[inline] hints for PinState functions #463

Closed luojia65 closed 1 year ago

luojia65 commented 1 year ago

Add inline hints for:

Those hints would allow further optimizations if PinState structure functions is used on embedded-hal projects.

bors[bot] commented 1 year ago

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here. For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.