ISSUE with xEventGroupWaitBits
Posted: Sun Apr 08, 2018 8:54 pm
Hi Guys,
I'm having a heck of a problem with the "xEventGroupWaitBits(wifi_event_group, CONNECTED_BIT, false, true, portMAX_DELAY);"
everything works fine if I call this function in the main loop, but if I call it from another RTOS task it crashes every time:
IDF VERSION:cv3.1-dev-463-g77eae33-dirty
Please help!
I'm having a heck of a problem with the "xEventGroupWaitBits(wifi_event_group, CONNECTED_BIT, false, true, portMAX_DELAY);"
everything works fine if I call this function in the main loop, but if I call it from another RTOS task it crashes every time:
I'm using/esp-idf/components/freertos/./event_groups.c:350 (xEventGroupWaitBits)- assert failed!
abort() was called at PC 0x400869af on core 1
0x400869af: xEventGroupWaitBits at /components/freertos/./event_groups.c:546
Backtrace: 0x40087728:0x3ffc37a0 0x400878ff:0x3ffc37c0 0x400869af:0x3ffc37e0 0x400d3be0:0x3ffc3810
0x40087728: invoke_abort at /esp-idf/components/esp32/./panic.c:648
0x400878ff: abort at /esp-idf/components/esp32/./panic.c:648
0x400869af: xEventGroupWaitBits at /esp-idf/components/freertos/./event_groups.c:546
0x400d3be0: config_get_task at /filepath/blah/main/./test_config.c:37
Rebooting...
IDF VERSION:cv3.1-dev-463-g77eae33-dirty
Please help!