mma8653: fix doc comments

This commit is contained in:
Ayke van Laethem
2018-11-16 14:53:28 +01:00
parent c23954059f
commit 704ef734f5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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}
+1 -1
View File
@@ -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