diff --git a/ports/esp32/machine_encoder.c b/ports/esp32/machine_encoder.c index 0550f6bf3c2ba..e7a1c3d5d5d09 100755 --- a/ports/esp32/machine_encoder.c +++ b/ports/esp32/machine_encoder.c @@ -58,7 +58,7 @@ See also #if MICROPY_PY_MACHINE_PCNT #include "rom/gpio.h" -#include "driver/pcnt.h" +//#include "driver/pcnt.h" #include "driver/pulse_cnt.h" #include "soc/pcnt_struct.h" #include "esp_err.h"