small typos

pull/1/head
Marc-Antoine Ruel 9 years ago
parent e5127f7abf
commit 8c668af634

@ -19,7 +19,7 @@ type Device interface {
// Unlike a connection, a device cannot be closed, only the port can be // Unlike a connection, a device cannot be closed, only the port can be
// closed. On the other hand, a device can be halted. What halting entails // closed. On the other hand, a device can be halted. What halting entails
// depends on the actual device but it should stop motion, sensing or light // depends on the actual device but it should stop motion, sensing or light
// emition. // emission.
Halt() error Halt() error
} }

@ -95,7 +95,7 @@ type Dev struct {
// //
// MOSI is not used and should be grounded. // MOSI is not used and should be grounded.
func New(s spi.Conn, i i2c.Bus, cs gpio.PinOut) (*Dev, error) { func New(s spi.Conn, i i2c.Bus, cs gpio.PinOut) (*Dev, error) {
// Sadly the Lepton will inconditionally send 27fps, even if the effective // Sadly the Lepton will unconditionally send 27fps, even if the effective
// rate is 9fps. // rate is 9fps.
mode := spi.Mode3 mode := spi.Mode3
if cs == nil { if cs == nil {

Loading…
Cancel
Save