Closed riskable closed 2 years ago
That's probably something I overlooked. CmdEnum should be accessible. Will fix it before the next release, that should be any day now. Just needs to find some time to do the release.
Thanks for testing!
CmdEnum renamed to MultiReceiverCommand and is now exported.
Excellent! That works, thanks 👍
I got
MultiReceiver
working (in my RTIC-using code) but it doesn't look like there's a way tomatch
against thecmd
...The problem is that
infrared::receiver::multireceiver
is private, thereforeinfrared::receiver::multireceiver::CmdEnum
is also private. So even if I wanted to do something like:...I can't. I'm still pretty new to Rust though so maybe I'm missing something?