File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff 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
255254ESP_SYSTEM_INIT_FN (init_psram_new , BIT (0 ), 99 ) {
256255 psramInit ();
257256 return ESP_OK ;
258257}
259258#endif
260- #endif
261259
262260void initArduino () {
263261 //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:
1919``` cpp
2020class OpenThreadCLI : public Stream {
2121private:
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
2525public:
Original file line number Diff line number Diff line change 2121
2222static TaskHandle_t s_cli_task = NULL ;
2323static 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
2727static esp_openthread_platform_config_t ot_native_config;
2828static 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 ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ typedef std::function<void(void)> OnReceiveCb_t;
2222
2323class OpenThreadCLI : public Stream {
2424private:
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
2828public:
You can’t perform that action at this time.
0 commit comments