xpcc
xpcc copied to clipboard
Add a Timeout to Protothreads
Adding a xpcc::ShortTimeout can be used to implement PT_SLEEP(time), which is done manually quite often.
The same timeout can be used to attach timeouts to PT_WAIT_UNTIL(condition).