Skip to content

Commit ed467ef

Browse files
Merge pull request #549 from xinzhe5/patch-1
Fix typo in KV rating comment in BLDCMotor.cpp
2 parents bc0d7fd + 68d584b commit ed467ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/BLDCMotor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ int trap_150_map[12][3] = {
3333
// BLDCMotor( int pp , float R)
3434
// - pp - pole pair number
3535
// - R - motor phase resistance
36-
// - KV - motor kv rating (rmp/v)
36+
// - KV - motor kv rating (rpm/V)
3737
// - Lq - motor q-axis inductance [H]
3838
// - Ld - motor d-axis inductance [H]
3939
BLDCMotor::BLDCMotor(int pp, float _R, float _KV, float _Lq, float _Ld)
@@ -267,4 +267,4 @@ void BLDCMotor::setPhaseVoltage(float Uq, float Ud, float angle_el) {
267267

268268
// set the voltages in driver
269269
driver->setPwm(Ua, Ub, Uc);
270-
}
270+
}

0 commit comments

Comments
 (0)