From 094709237994edeffacca8378bc14ee9ac2456e9 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Ruel Date: Fri, 14 Jul 2017 15:48:24 -0600 Subject: [PATCH] bme280: Remove stale TODO for NewSPI The code is functional and tested. --- devices/bme280/bme280.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/devices/bme280/bme280.go b/devices/bme280/bme280.go index 5996433..baae215 100644 --- a/devices/bme280/bme280.go +++ b/devices/bme280/bme280.go @@ -173,9 +173,6 @@ func NewI2C(b i2c.Bus, opts *Opts) (*Dev, error) { // sampling. // // When using SPI, the CS line must be used. -// -// BUG(maruel): This code was not tested yet, still waiting for a SPI enabled -// device in the mail. func NewSPI(p spi.Port, opts *Opts) (*Dev, error) { // It works both in Mode0 and Mode3. c, err := p.DevParams(10000000, spi.Mode3, 8)