Had forgotten to git add conn/physic/example_test.go.
Typoed the replacements in devices/devices.go.
pull/1/head
Marc-Antoine Ruel 8 years ago
parent 0bc4d173ac
commit f4eadbf1e1

@ -51,8 +51,7 @@ type Display interface {
// Environment represents measurements from an environmental sensor. // Environment represents measurements from an environmental sensor.
// //
// Deprecated: This interface will be removed in v3. Use physic.Environment // Deprecated: This interface will be removed in v3. Use physic.Env instead.
// instead.
type Environment struct { type Environment struct {
Temperature Celsius Temperature Celsius
Pressure KPascal Pressure KPascal
@ -61,7 +60,7 @@ type Environment struct {
// Environmental represents an environmental sensor. // Environmental represents an environmental sensor.
// //
// Deprecated: This interface will be removed in v3. Use physic.Environmental // Deprecated: This interface will be removed in v3. Use physic.SenseEnv
// instead. // instead.
type Environmental interface { type Environmental interface {
conn.Resource conn.Resource

Loading…
Cancel
Save