warning: 'taskENTER_CRITICAL(mux)' is deprecated
warning: 'taskEXIT_CRITICAL(mux)' is deprecated
I'm using ESP-IDF v3.1
/Users/dev/esp/esp32-ds18b20-example/components/esp32-owb/owb_gpio.c: In function '_reset':
/Users/dev/esp/esp32-ds18b20-example/components/esp32-owb/owb_gpio.c:100:13: warning: 'taskENTER_CRITICAL(mux)' is deprecated in ESP-IDF, consider using 'portENTER_CRITICAL(mux)'
taskENTER_CRITICAL(&timeCriticalMutex);
^
/Users/dev/esp/esp32-ds18b20-example/components/esp32-owb/owb_gpio.c:134:13: warning: 'taskEXIT_CRITICAL(mux)' is deprecated in ESP-IDF, consider using 'portEXIT_CRITICAL(mux)'
taskEXIT_CRITICAL(&timeCriticalMutex);
^
/Users/dev/esp/esp32-ds18b20-example/components/esp32-owb/owb_gpio.c: In function '_write_bit':
/Users/dev/esp/esp32-ds18b20-example/components/esp32-owb/owb_gpio.c:156:13: warning: 'taskENTER_CRITICAL(mux)' is deprecated in ESP-IDF, consider using 'portENTER_CRITICAL(mux)'
taskENTER_CRITICAL(&timeCriticalMutex);
^
/Users/dev/esp/esp32-ds18b20-example/components/esp32-owb/owb_gpio.c:164:13: warning: 'taskEXIT_CRITICAL(mux)' is deprecated in ESP-IDF, consider using 'portEXIT_CRITICAL(mux)'
taskEXIT_CRITICAL(&timeCriticalMutex);
^
/Users/dev/esp/esp32-ds18b20-example/components/esp32-owb/owb_gpio.c: In function '_read_bit':
/Users/dev/esp/esp32-ds18b20-example/components/esp32-owb/owb_gpio.c:177:13: warning: 'taskENTER_CRITICAL(mux)' is deprecated in ESP-IDF, consider using 'portENTER_CRITICAL(mux)'
taskENTER_CRITICAL(&timeCriticalMutex);
^
/Users/dev/esp/esp32-ds18b20-example/components/esp32-owb/owb_gpio.c:198:13: warning: 'taskEXIT_CRITICAL(mux)' is deprecated in ESP-IDF, consider using 'portEXIT_CRITICAL(mux)'
taskEXIT_CRITICAL(&timeCriticalMutex);
^
CC build/esp32-owb/owb_rmt.o
Thanks for your great work.
I have a little issue:
warning: 'taskENTER_CRITICAL(mux)' is deprecated warning: 'taskEXIT_CRITICAL(mux)' is deprecated
I'm using ESP-IDF v3.1