Skip to content

Commit 9aaea98

Browse files
authored
Merge branch 'master' into master
2 parents 67e4f97 + 733373a commit 9aaea98

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

cores/esp32/esp32-hal-misc.c

-2
Original file line numberDiff line numberDiff line change
@@ -251,13 +251,11 @@ extern bool btInUse();
251251
#endif
252252

253253
#if CONFIG_SPIRAM_SUPPORT || CONFIG_SPIRAM
254-
#ifndef CONFIG_SPIRAM_BOOT_INIT
255254
ESP_SYSTEM_INIT_FN(init_psram_new, BIT(0), 99) {
256255
psramInit();
257256
return ESP_OK;
258257
}
259258
#endif
260-
#endif
261259

262260
void initArduino() {
263261
//init proper ref tick value for PLL (uncomment if REF_TICK is different than 1MHz)

libraries/OpenThread/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Below are the details of the class:
1919
```cpp
2020
class OpenThreadCLI : public Stream {
2121
private:
22-
static size_t setBuffer(xQueueHandle &queue, size_t len);
22+
static size_t setBuffer(QueueHandle_t &queue, size_t len);
2323
bool otStarted = false;
2424

2525
public:

libraries/OpenThread/src/OThreadCLI.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
static TaskHandle_t s_cli_task = NULL;
2323
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;
2626

2727
static esp_openthread_platform_config_t ot_native_config;
2828
static TaskHandle_t s_ot_task = NULL;
@@ -389,7 +389,7 @@ size_t OpenThreadCLI::write(uint8_t c) {
389389
return 1;
390390
}
391391

392-
size_t OpenThreadCLI::setBuffer(xQueueHandle &queue, size_t queue_len) {
392+
size_t OpenThreadCLI::setBuffer(QueueHandle_t &queue, size_t queue_len) {
393393
if (queue) {
394394
vQueueDelete(queue);
395395
queue = NULL;

libraries/OpenThread/src/OThreadCLI.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ typedef std::function<void(void)> OnReceiveCb_t;
2222

2323
class OpenThreadCLI : public Stream {
2424
private:
25-
static size_t setBuffer(xQueueHandle &queue, size_t len);
25+
static size_t setBuffer(QueueHandle_t &queue, size_t len);
2626
bool otStarted = false;
2727

2828
public:

0 commit comments

Comments
 (0)