Skip to content

Capture trait requires moving/copying channel argument #249

Open
@hannobraun

Description

@hannobraun

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions