bme280: Remove stale TODO for NewSPI

The code is functional and tested.
pull/1/head
Marc-Antoine Ruel 9 years ago
parent e1b4eec42a
commit 0947092379

@ -173,9 +173,6 @@ func NewI2C(b i2c.Bus, opts *Opts) (*Dev, error) {
// sampling. // sampling.
// //
// When using SPI, the CS line must be used. // 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) { func NewSPI(p spi.Port, opts *Opts) (*Dev, error) {
// It works both in Mode0 and Mode3. // It works both in Mode0 and Mode3.
c, err := p.DevParams(10000000, spi.Mode3, 8) c, err := p.DevParams(10000000, spi.Mode3, 8)

Loading…
Cancel
Save