M5Stack-Camera icon indicating copy to clipboard operation
M5Stack-Camera copied to clipboard

The "qr_task" can't be created successful when the wifi is openning(AP)

Open Herwey opened this issue 6 years ago • 2 comments

Hi All: I open the wifi(AP) as below: wifi_init_softap(); vTaskDelay(100 / portTICK_PERIOD_MS); http_server_init(); Then I created the qr_reco task as below: xTaskCreate( qr_recognize, "qr_recognize", 102460, &camera_config, 8, &xTask4); But the task responsed "-1", maybe not enough memory. The depth is "102460", but when I created a task which depth is "1024*20", it could work well. Does the wifi cost lots of memory? So what can I do next ? Thanks ! :D

Herwey avatar Jun 16 '19 01:06 Herwey

Qr recognition requires memory

zhouyangyale avatar Jun 17 '19 03:06 zhouyangyale

佐助: Yes, qr requires the memory. But when I open the wifi(AP), the qr task can't be open. IF I close the wifi, it works fine. It's wired ! :D

Herwey avatar Jun 17 '19 05:06 Herwey