Skip to content

Commit

Permalink
Final v5 does not have USB switch powered by 3V0. Rename accordingly.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakkra committed Jul 15, 2024
1 parent b45498a commit c01767d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
regulator-always-on;
};

regulator_buzzer_usb: BUCK2 {
regulator_buzzer: BUCK2 {
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;
regulator-init-microvolt = <3000000>;
Expand Down
2 changes: 1 addition & 1 deletion app/src/drivers/zsw_buzzer.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ struct note_duration_t beep_song[] = {
};

static const struct pwm_dt_spec buzzer_dt = PWM_DT_SPEC_GET(DT_ALIAS(buzzer_pwm));
static const struct device *const reg_dev = DEVICE_DT_GET_OR_NULL(DT_NODELABEL(regulator_buzzer_usb));
static const struct device *const reg_dev = DEVICE_DT_GET_OR_NULL(DT_NODELABEL(regulator_buzzer));

K_TIMER_DEFINE(buzzer_timer, pattern_timer_timeout, NULL);

Expand Down

0 comments on commit c01767d

Please sign in to comment.