This reverts commit ae24692785. Closes: https://github.com/espressif/arduino-esp32/issues/4905
ae24692785