PWM problem with GPIO25 on ESP32-WROOM-32D

The whole code please. Snippets do not troubleshoot well.

Analog to Digital Converter (ADC) - ESP32 - — ESP-IDF Programming Guide latest documentation (espressif.com)