mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 18:22:32 +00:00
bidir comm works
This commit is contained in:
@@ -19,6 +19,10 @@ public:
|
||||
vQueueDelete(h);
|
||||
}
|
||||
|
||||
int numFree() {
|
||||
return uxQueueSpacesAvailable(h);
|
||||
}
|
||||
|
||||
// pdTRUE for success else failure
|
||||
BaseType_t enqueue(T x, TickType_t maxWait = portMAX_DELAY) {
|
||||
return xQueueSendToBack(h, &x, maxWait);
|
||||
|
||||
Reference in New Issue
Block a user