Skip to content

Commit

Permalink
Renault: don't validate connected driver (#14805)
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Jul 9, 2024
1 parent fb65261 commit 53ef194
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vehicle/renault/kamereon/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ func (v *Vehicle) Available() error {
return errors.New("vehicle is not active")
}

if v.ConnectedDriver.Role == "" {
return errors.New("vehicle is not connected to driver")
}
// DEPRECATED
// if v.ConnectedDriver.Role == "" {
// return errors.New("vehicle is not connected to driver")
// }

return nil
}
Expand Down

0 comments on commit 53ef194

Please sign in to comment.