Skip to content

Commit

Permalink
bme280: Remove stale TODO for NewSPI
Browse files Browse the repository at this point in the history
The code is functional and tested.
  • Loading branch information
maruel committed Jul 14, 2017
1 parent 9680a3d commit 7e81ef2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions devices/bme280/bme280.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7e81ef2

Please sign in to comment.