Skip to content

Commit

Permalink
dc
Browse files Browse the repository at this point in the history
  • Loading branch information
itsMeDavidV committed Dec 19, 2023
1 parent 5a607f9 commit cc75462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/vehicle/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func (v *Vehicle) ActuateTrunk(ctx context.Context) error {

// OpenTrunk opens the trunk, but note that CloseTrunk is not available on all vehicle types.
func (v *Vehicle) OpenTrunk(ctx context.Context) error {
return v.executeClosureAction(ctx, vcsec.ClosureMoveType_E_CLOSURE_MOVE_TYPE_MOVE, ClosureTrunk)
return v.executeClosureAction(ctx, vcsec.ClosureMoveType_E_CLOSURE_MOVE_TYPE_OPEN, ClosureTrunk)
}

// CloseTrunk is not available on all vehicle types.
Expand All @@ -25,7 +25,7 @@ func (v *Vehicle) CloseTrunk(ctx context.Context) error {

// OpenTrunk opens the frunk. There is no remote way to close the frunk!
func (v *Vehicle) OpenFrunk(ctx context.Context) error {
return v.executeClosureAction(ctx, vcsec.ClosureMoveType_E_CLOSURE_MOVE_TYPE_OPEN, ClosureFrunk)
return v.executeClosureAction(ctx, vcsec.ClosureMoveType_E_CLOSURE_MOVE_TYPE_MOVE, ClosureFrunk)
}
func (v *Vehicle) HonkHorn(ctx context.Context) error {
return v.executeCarServerAction(ctx,
Expand Down

0 comments on commit cc75462

Please sign in to comment.