Skip to content

Commit

Permalink
Cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpevzner committed Nov 18, 2023
1 parent 346bde9 commit 933a493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,12 @@ func (md *messageDecoder) decodeCollection() (Collection, error) {

default:
if md.opt.EnableWorkarounds &&
memberName == "" && attr.Name != "" {
// Workaround for: Pantum M7300FDW
//
// This device violates collection encoding rules.
// Instead of using TagMemberName, it uses named
// attributes within the collection
memberName == "" && attr.Name != "" {
memberName = attr.Name
}

Expand Down

0 comments on commit 933a493

Please sign in to comment.