Skip to content

Commit 770d240

Browse files
authored
Update SimpleFOC.h
typo
1 parent 8c65a5f commit 770d240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SimpleFOC.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
// BLDCMotor( pole_pairs )
4646
BLDCMotor motor = BLDCMotor(11);
4747
// BLDCDriver( pin_pwmA, pin_pwmB, pin_pwmC, enable (optional) )
48-
BLDCDriver3PWM motor = BLDCDriver3PWM(9, 10, 11, 8);
48+
BLDCDriver3PWM driver = BLDCDriver3PWM(9, 10, 11, 8);
4949
// Encoder(pin_A, pin_B, CPR)
5050
Encoder encoder = Encoder(2, 3, 2048);
5151
// channel A and B callbacks

0 commit comments

Comments
 (0)