devices: Remove devices.Device

Use conn.Resource instead.

Fixes #184
pull/1/head
Marc-Antoine Ruel 8 years ago
parent 79501ae489
commit cd1516dfb2

@ -13,13 +13,6 @@ import (
"periph.io/x/periph/conn" "periph.io/x/periph/conn"
) )
// Device is a basic device.
//
// Deprecated: This interface will be removed in v3. Use conn.Resource instead.
type Device interface {
Halt() error
}
// Display represents a pixel output device. It is a write-only interface. // Display represents a pixel output device. It is a write-only interface.
// //
// What Display represents can be as varied as a 1 bit OLED display or a strip // What Display represents can be as varied as a 1 bit OLED display or a strip

Loading…
Cancel
Save