-
Notifications
You must be signed in to change notification settings - Fork 4
Add hal::poll(hal::timeout, polling_function)
#23
Comments
I can help with this one |
Thank you @SameerAzer ! can you type in |
Thanks for taking this issue! Let us know if you have any questions! |
@SameerAzer actually nvm, I assigned you! Thank you for taking this on! |
embed::poll(timeout, polling_function)
embed::poll(timeout, polling_function)
embed::poll(embed::timeout, polling_function)
Does this belong in libembeddedhal/timeout.hpp ? @kammce |
Yes, it should be in |
What's polling_function's signature? |
I'm not sure when poll would return true/false otherwise. |
Oh sorry, I misread this. The polling function signature should be |
embed::poll(embed::timeout, polling_function)
hal::poll(embed::timeout, polling_function)
hal::poll(embed::timeout, polling_function)
hal::poll(hal::timeout, polling_function)
Provides a utility that polls a function until it either indicates that it has completed its work or , then the function throws
embed::error::timeout
, otherwise it returns success.The text was updated successfully, but these errors were encountered: