Fix test on mode change when speed is set
This commit is contained in:
parent
dc88e80dca
commit
8c62d8ce86
|
@ -115,6 +115,7 @@ func TestMotorDriverDirection(t *testing.T) {
|
|||
|
||||
func TestMotorDriverDigital(t *testing.T) {
|
||||
d := initTestMotorDriver()
|
||||
d.SpeedPin = "" // Disable speed
|
||||
d.CurrentMode = "digital"
|
||||
d.ForwardPin = "2"
|
||||
d.BackwardPin = "3"
|
||||
|
|
Loading…
Reference in New Issue