diff --git a/docs/psoc6/quickref.rst b/docs/psoc6/quickref.rst index 7948e46bcb13..a765fbaa2f5b 100644 --- a/docs/psoc6/quickref.rst +++ b/docs/psoc6/quickref.rst @@ -669,7 +669,7 @@ Methods Set the callback.``handler`` is called when ``buf`` becomes full (``readinto`` method). Setting a callback changes the ``readinto`` method to non-blocking operation. - ``handler`` is called in the context of the MicroPython scheduler. + ``handler`` is called in the context of the MicroPython scheduler. .. method:: PDM_PCM.gain(left_gain, right_gain) diff --git a/ports/psoc6/machine_pdm_pcm.c b/ports/psoc6/machine_pdm_pcm.c index cfb3608a2979..be115437b4d1 100644 --- a/ports/psoc6/machine_pdm_pcm.c +++ b/ports/psoc6/machine_pdm_pcm.c @@ -545,8 +545,6 @@ static void mp_machine_pdm_pcm_init_helper(machine_pdm_pcm_obj_t *self, mp_arg_v static void mp_machine_pdm_pcm_init(machine_pdm_pcm_obj_t *self) { mplogger_print("mp_machine_pdm_pcm_init \r\n"); pdm_pcm_rx_init(self); - cyhal_gpio_init(CYBSP_USER_LED, CYHAL_GPIO_DIR_OUTPUT, CYHAL_GPIO_DRIVE_STRONG, true); - cyhal_gpio_write(CYBSP_USER_LED, 1); } // deinit()