Skip to content

Commit

Permalink
mma8653: fix doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aykevl committed Nov 16, 2018
1 parent c239540 commit 704ef73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mma8653/mma8653.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func NewI2C(bus machine.I2C) Device {
return Device{bus}
}

// Connected returns whether a MMC8653 has been found.
// Connected returns whether a MMA8653 has been found.
// It does a "who am I" request and checks the response.
func (d Device) Connected() bool {
data := []byte{0}
Expand Down
2 changes: 1 addition & 1 deletion mma8653/registers.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package mma8653
// The I2C address which this device listens to.
const Address = 0x1D

// Registers. Names, addresses and comment copied from the datasheet.
// Registers. Names, addresses and comments copied from the datasheet.
const (
STATUS = 0x00 // Real time status
OUT_X_MSB = 0x01 // top 8 bits of 10-bit sample
Expand Down

0 comments on commit 704ef73

Please sign in to comment.