machine/dummy: add fake button pins

This commit is contained in:
Ayke van Laethem
2018-09-14 17:01:16 +02:00
parent 752332ff13
commit f41a8032e7
+9
View File
@@ -20,6 +20,15 @@ const (
LED4 = 0
)
// Fake button numbers, for testing.
const (
BUTTON = BUTTON1
BUTTON1 = 0
BUTTON2 = 0
BUTTON3 = 0
BUTTON4 = 0
)
func (p GPIO) Configure(config GPIOConfig) {
}