diff --git a/src/machine/machine_dummy.go b/src/machine/machine_dummy.go index 060b82b3..8f355f6c 100644 --- a/src/machine/machine_dummy.go +++ b/src/machine/machine_dummy.go @@ -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) { }