As reported on forum https://esp32.com/viewtopic.php?f=2&t=4478&p=19659
Fixes https://github.com/espressif/esp-idf/issues/1067 Ref. TW15752