Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Petrilak committed Nov 10, 2023
1 parent de8f156 commit 0b26b26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flows.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,14 +224,14 @@ func Commission(fabric *Fabric, device_ip net.IP, pin int, controller_id, device
if err != nil {
return err
}
commisioning_result, err := respx.Tlv.GetIntRec([]int{1, 0, 0, 1, 0})
commissioning_result, err := respx.Tlv.GetIntRec([]int{1, 0, 0, 1, 0})
if err != nil {
return err
}
if commisioning_result == 0 {
if commissioning_result == 0 {
log.Printf("commissioning OK\n")
} else {
log.Printf("commissioning error: %d\n", commisioning_result)
log.Printf("commissioning error: %d\n", commissioning_result)
}
return nil
}

0 comments on commit 0b26b26

Please sign in to comment.