@alteriom/painlessmesh 1.7.5 → 1.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,34 +0,0 @@
1
- #ifndef _PAINLESSMESH_SCHEDULER_QUEUE_HPP_
2
- #define _PAINLESSMESH_SCHEDULER_QUEUE_HPP_
3
-
4
- #ifdef ESP32
5
-
6
- #include <freertos/FreeRTOS.h>
7
- #include <freertos/queue.h>
8
- #include <TaskSchedulerDeclarations.h>
9
-
10
- namespace painlessmesh {
11
- namespace scheduler {
12
-
13
- // Configuration constants
14
- constexpr size_t TS_QUEUE_LEN = 16; // Task request queue length
15
- constexpr TickType_t TS_ENQUEUE_WAIT_MS = 10; // Max wait for enqueue (ms)
16
- constexpr TickType_t TS_DEQUEUE_WAIT_MS = 0; // No wait for dequeue
17
-
18
- // Global queue handle (initialized in mesh init)
19
- extern QueueHandle_t tsQueue;
20
-
21
- /**
22
- * Initialize the TaskScheduler request queue
23
- * Must be called during mesh initialization on ESP32
24
- *
25
- * @return true if queue created successfully, false otherwise
26
- */
27
- bool initQueue();
28
-
29
- } // namespace scheduler
30
- } // namespace painlessmesh
31
-
32
- #endif // ESP32
33
-
34
- #endif // _PAINLESSMESH_SCHEDULER_QUEUE_HPP_