diff --git a/devices/devices.go b/devices/devices.go index 116e5ab..39695ae 100644 --- a/devices/devices.go +++ b/devices/devices.go @@ -19,7 +19,7 @@ type Device interface { // 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 // depends on the actual device but it should stop motion, sensing or light - // emition. + // emission. Halt() error } diff --git a/devices/lepton/lepton.go b/devices/lepton/lepton.go index e084c98..384dbc6 100644 --- a/devices/lepton/lepton.go +++ b/devices/lepton/lepton.go @@ -95,7 +95,7 @@ type Dev struct { // // MOSI is not used and should be grounded. 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. mode := spi.Mode3 if cs == nil {