Skip to content

Commit

Permalink
Make board override less strict
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Jul 13, 2023
1 parent 37eafa4 commit ae313c9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions indexes/firmwareindex/firmwareindex.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,7 @@ func (i *Index) GetBoard(fqbn string) *IndexBoard {

// Overlaps returns true if the two IndexBoard represent the same board.
func (b *IndexBoard) Overlaps(x *IndexBoard) bool {
return b.Fqbn == x.Fqbn &&
b.Module == x.Module &&
b.Name == x.Name
return b.Fqbn == x.Fqbn && b.Module == x.Module
}

// GetFirmware returns the specified IndexFirmware version for this board.
Expand Down

0 comments on commit ae313c9

Please sign in to comment.