we now always listen before transmit - even if we have just completed a packet

This commit is contained in:
geeksville
2020-05-02 08:29:51 -07:00
parent 4735b3ff5b
commit 2ad314f150
6 changed files with 115 additions and 53 deletions

View File

@@ -70,6 +70,13 @@ class NotifiedWorkerThread : public WorkerThread
*/
uint32_t notification = 0;
/**
* What notification bits should be cleared just after we read and return them in notification?
*
* Defaults to clear all of them.
*/
uint32_t clearOnRead = ULONG_MAX;
/**
* A method that should block execution - either waiting ona queue/mutex or a "task notification"
*/