Skip to content

Commit

Permalink
Fix test on mode change when speed is set
Browse files Browse the repository at this point in the history
  • Loading branch information
vlastv committed Apr 12, 2017
1 parent dc88e80 commit 8c62d8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpio/motor_driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8c62d8c

Please sign in to comment.