Fix test on mode change when speed is set

This commit is contained in:
Vladislav Vlastovskiy 2017-04-12 18:07:37 +03:00
parent dc88e80dca
commit 8c62d8ce86
1 changed files with 1 additions and 0 deletions

View File

@ -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"