xpcc icon indicating copy to clipboard operation
xpcc copied to clipboard

Add a Timeout to Protothreads

Open salkinium opened this issue 10 years ago • 0 comments

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).

salkinium avatar Feb 12 '15 20:02 salkinium