Skip to content

Commit

Permalink
ports/psoc6: Modify i2s.
Browse files Browse the repository at this point in the history
Signed-off-by: IFX-Anusha <[email protected]>
  • Loading branch information
IFX-Anusha committed Oct 18, 2024
1 parent bac1445 commit e12a886
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion ports/psoc6/modmachine.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,6 @@ void audio_i2s_set_frequency(uint32_t freq) {
mp_raise_msg_varg(&mp_type_ValueError, MP_ERROR_TEXT("Invalid PLL0 frequency %lu"), freq);
}
cyhal_clock_t clock_pll;
cyhal_clock_t audio_clock;
cy_rslt_t result;

static bool clock_set_i2s = false;
Expand Down
1 change: 1 addition & 0 deletions ports/psoc6/modmachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,6 @@ void machine_deinit(void);
mp_obj_t system_reset_cause(void);

extern void audio_i2s_set_frequency(uint32_t audio_clock_freq_hz);
extern cyhal_clock_t audio_clock;

#endif // MICROPY_INCLUDED_PSOC6_MODMACHINE_H

0 comments on commit e12a886

Please sign in to comment.