Skip to content

Commit 63d5632

Browse files
committed
forgotten pwm_frequency default
1 parent 3a4ea20 commit 63d5632

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/drivers/BLDCDriver3PWM.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ BLDCDriver3PWM::BLDCDriver3PWM(int phA, int phB, int phC, int en1, int en2, int
1414
// default power-supply value
1515
voltage_power_supply = DEF_POWER_SUPPLY;
1616
voltage_limit = NOT_SET;
17+
pwm_frequency = NOT_SET;
1718

1819
}
1920

src/drivers/StepperDriver2PWM.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ StepperDriver2PWM::StepperDriver2PWM(int _pwm1, int* _in1, int _pwm2, int* _in2,
1616
// default power-supply value
1717
voltage_power_supply = DEF_POWER_SUPPLY;
1818
voltage_limit = NOT_SET;
19+
pwm_frequency = NOT_SET;
1920

2021
}
2122

0 commit comments

Comments
 (0)