Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/OpenThread/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Below are the details of the class:
```cpp
class OpenThreadCLI : public Stream {
private:
static size_t setBuffer(xQueueHandle &queue, size_t len);
static size_t setBuffer(QueueHandle_t &queue, size_t len);
bool otStarted = false;

public:
Expand Down
6 changes: 3 additions & 3 deletions libraries/OpenThread/src/OThreadCLI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

static TaskHandle_t s_cli_task = NULL;
static TaskHandle_t s_console_cli_task = NULL;
static xQueueHandle rx_queue = NULL;
static xQueueHandle tx_queue = NULL;
static QueueHandle_t rx_queue = NULL;
static QueueHandle_t tx_queue = NULL;

static esp_openthread_platform_config_t ot_native_config;
static TaskHandle_t s_ot_task = NULL;
Expand Down Expand Up @@ -389,7 +389,7 @@ size_t OpenThreadCLI::write(uint8_t c) {
return 1;
}

size_t OpenThreadCLI::setBuffer(xQueueHandle &queue, size_t queue_len) {
size_t OpenThreadCLI::setBuffer(QueueHandle_t &queue, size_t queue_len) {
if (queue) {
vQueueDelete(queue);
queue = NULL;
Expand Down
2 changes: 1 addition & 1 deletion libraries/OpenThread/src/OThreadCLI.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ typedef std::function<void(void)> OnReceiveCb_t;

class OpenThreadCLI : public Stream {
private:
static size_t setBuffer(xQueueHandle &queue, size_t len);
static size_t setBuffer(QueueHandle_t &queue, size_t len);
bool otStarted = false;

public:
Expand Down
Loading