File tree 4 files changed +5
-7
lines changed
4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -251,13 +251,11 @@ extern bool btInUse();
251
251
#endif
252
252
253
253
#if CONFIG_SPIRAM_SUPPORT || CONFIG_SPIRAM
254
- #ifndef CONFIG_SPIRAM_BOOT_INIT
255
254
ESP_SYSTEM_INIT_FN (init_psram_new , BIT (0 ), 99 ) {
256
255
psramInit ();
257
256
return ESP_OK ;
258
257
}
259
258
#endif
260
- #endif
261
259
262
260
void initArduino () {
263
261
//init proper ref tick value for PLL (uncomment if REF_TICK is different than 1MHz)
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