File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Below are the details of the class:
19
19
``` cpp
20
20
class OpenThreadCLI : public Stream {
21
21
private:
22
- static size_t setBuffer(xQueueHandle &queue, size_t len);
22
+ static size_t setBuffer(QueueHandle_t &queue, size_t len);
23
23
bool otStarted = false;
24
24
25
25
public:
Original file line number Diff line number Diff line change 21
21
22
22
static TaskHandle_t s_cli_task = NULL ;
23
23
static TaskHandle_t s_console_cli_task = NULL ;
24
- static xQueueHandle rx_queue = NULL ;
25
- static xQueueHandle tx_queue = NULL ;
24
+ static QueueHandle_t rx_queue = NULL ;
25
+ static QueueHandle_t tx_queue = NULL ;
26
26
27
27
static esp_openthread_platform_config_t ot_native_config;
28
28
static TaskHandle_t s_ot_task = NULL ;
@@ -389,7 +389,7 @@ size_t OpenThreadCLI::write(uint8_t c) {
389
389
return 1 ;
390
390
}
391
391
392
- size_t OpenThreadCLI::setBuffer (xQueueHandle &queue, size_t queue_len) {
392
+ size_t OpenThreadCLI::setBuffer (QueueHandle_t &queue, size_t queue_len) {
393
393
if (queue) {
394
394
vQueueDelete (queue);
395
395
queue = NULL ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ typedef std::function<void(void)> OnReceiveCb_t;
22
22
23
23
class OpenThreadCLI : public Stream {
24
24
private:
25
- static size_t setBuffer (xQueueHandle &queue, size_t len);
25
+ static size_t setBuffer (QueueHandle_t &queue, size_t len);
26
26
bool otStarted = false ;
27
27
28
28
public:
You can’t perform that action at this time.
0 commit comments