Skip to content

Commit

Permalink
ports/psoc6: Renamed machine classes deinit all.
Browse files Browse the repository at this point in the history
Signed-off-by: enriquezgarc <[email protected]>
  • Loading branch information
jaenrig-ifx committed Feb 7, 2025
1 parent 6c51875 commit 8a62e00
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ports/psoc6/machine_pwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ static void mp_machine_pwm_freq_set(machine_pwm_obj_t *self, mp_int_t freq) {
}
}

void mod_pwm_deinit() {
void machine_pwm_deinit_all() {
for (uint8_t i = 0; i < MAX_PWM_OBJS; i++) {
if (pwm_obj[i] != NULL) {
mp_machine_pwm_deinit(pwm_obj[i]);
Expand Down
2 changes: 1 addition & 1 deletion ports/psoc6/modmachine.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ void machine_deinit(void) {
mod_pin_deinit();
mod_adcblock_deinit();
mod_i2c_deinit();
mod_pwm_deinit();
machine_pwm_deinit_all();
mod_spi_deinit();
mod_rtc_deinit();
mod_timer_deinit();
Expand Down
2 changes: 1 addition & 1 deletion ports/psoc6/modmachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void mod_pin_deinit(void);
void mod_adc_deinit(void);
void mod_adcblock_deinit(void);
void mod_i2c_deinit(void);
void mod_pwm_deinit(void);
void machine_pwm_deinit_all(void);
void mod_rtc_deinit(void);
void mod_spi_deinit(void);
void mod_timer_deinit(void);
Expand Down

0 comments on commit 8a62e00

Please sign in to comment.