Skip to content

Commit b893f11

Browse files
committed
removed old fix in drivers for issue #76 2
1 parent 39d2cef commit b893f11

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

src/drivers/BLDCDriver3PWM.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ void BLDCDriver3PWM::disable()
4141

4242
// init hardware pins
4343
int BLDCDriver3PWM::init() {
44-
// a bit of separation
45-
_delay(1000);
46-
4744
// PWM pins
4845
pinMode(pwmA, OUTPUT);
4946
pinMode(pwmB, OUTPUT);

src/drivers/BLDCDriver6PWM.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ void BLDCDriver6PWM::disable()
4141

4242
// init hardware pins
4343
int BLDCDriver6PWM::init() {
44-
// a bit of separation
45-
_delay(1000);
46-
44+
4745
// PWM pins
4846
pinMode(pwmA_h, OUTPUT);
4947
pinMode(pwmB_h, OUTPUT);

src/drivers/StepperDriver2PWM.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ void StepperDriver2PWM::disable()
6161

6262
// init hardware pins
6363
int StepperDriver2PWM::init() {
64-
// a bit of separation
65-
_delay(1000);
66-
6764
// PWM pins
6865
pinMode(pwm1, OUTPUT);
6966
pinMode(pwm2, OUTPUT);

0 commit comments

Comments
 (0)