Skip to content

Commit ae313c9

Browse files
committed
Make board override less strict
1 parent 37eafa4 commit ae313c9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

indexes/firmwareindex/firmwareindex.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,7 @@ func (i *Index) GetBoard(fqbn string) *IndexBoard {
152152

153153
// Overlaps returns true if the two IndexBoard represent the same board.
154154
func (b *IndexBoard) Overlaps(x *IndexBoard) bool {
155-
return b.Fqbn == x.Fqbn &&
156-
b.Module == x.Module &&
157-
b.Name == x.Name
155+
return b.Fqbn == x.Fqbn && b.Module == x.Module
158156
}
159157

160158
// GetFirmware returns the specified IndexFirmware version for this board.

0 commit comments

Comments
 (0)