Skip to content

Commit

Permalink
ports/psoc6: Remove led init used for testing.
Browse files Browse the repository at this point in the history
Signed-off-by: NikhitaR-IFX <Nikhita.Rajasekhar@infineon.com>
  • Loading branch information
NikhitaR-IFX committed Nov 15, 2024
1 parent 797695f commit e44fe57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion docs/psoc6/quickref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 0 additions & 2 deletions ports/psoc6/machine_pdm_pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e44fe57

Please sign in to comment.