machine/dummy: Add LED1, LED2, etc to dummy machine

This commit is contained in:
Ayke van Laethem
2018-06-03 16:42:09 +02:00
parent 320c583221
commit 89f77fa861
+8 -1
View File
@@ -12,7 +12,14 @@ const (
GPIO_OUTPUT
)
const LED = 0
// Fake LED numbers, for testing.
const (
LED = LED1
LED1 = 0
LED2 = 0
LED3 = 0
LED4 = 0
)
func (p GPIO) Configure(config GPIOConfig) {
}