Skip to content

Commit

Permalink
Cosmetic (auto-format)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpevzner committed Nov 7, 2024
1 parent 0b37470 commit 4dd7f87
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions status.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (

// statusOfDevice represents a status of the particular device
type statusOfDevice struct {
desc UsbDeviceDesc // Device descriptor
init error // Initialization error, nil if none
HTTPPort int // Assigned http port for the device
desc UsbDeviceDesc // Device descriptor
init error // Initialization error, nil if none
HTTPPort int // Assigned http port for the device
}

var (
Expand Down Expand Up @@ -113,8 +113,8 @@ func StatusFormat() []byte {
func StatusSet(addr UsbAddr, desc UsbDeviceDesc, HTTPPort int, init error) {
statusLock.Lock()
statusTable[addr] = &statusOfDevice{
desc: desc,
init: init,
desc: desc,
init: init,
HTTPPort: HTTPPort,
}
statusLock.Unlock()
Expand Down

0 comments on commit 4dd7f87

Please sign in to comment.