rust-embedded/embedded-hal

`Capture` trait requires moving/copying channel argument

hannobraun opened this issue · 0 comments

I think this doesn't make any sense, as it either requires Clone/Copy implementations for the channel type (which might be undesirable, as it limits the HAL design). I believe the methods should take shared or mutable references, as appropriate.

Also see #244 and and #246, which are about the same problem, but regarding the PWM trait.