Skip to content

Commit

Permalink
fix(log): Fix formatting of logged addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Oct 3, 2024
1 parent a2d4439 commit 5b2792e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/log/hex.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
type HexAddr uint16

func (h HexAddr) String() string {
return fmt.Sprintf("$%04X", uint8(h))
return fmt.Sprintf("$%04X", uint16(h))
}

type HexVal uint8
Expand Down

0 comments on commit 5b2792e

Please sign in to comment.