Skip to content

Commit

Permalink
RSDK-2053 - change direction_flip config key to dir_flip in fake moto… (
Browse files Browse the repository at this point in the history
  • Loading branch information
gvaradarajan authored Mar 9, 2023
1 parent 3175862 commit 37e900c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/motor/fake/motor.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type Config struct {
Encoder string `json:"encoder,omitempty"`
MaxRPM float64 `json:"max_rpm,omitempty"`
TicksPerRotation int `json:"ticks_per_rotation,omitempty"`
DirectionFlip bool `json:"direction_flip"`
DirectionFlip bool `json:"dir_flip"`
}

// Validate ensures all parts of the config are valid.
Expand Down

0 comments on commit 37e900c

Please sign in to comment.