changeset 98:d620e60bd397

merge Ignore-this: 2c3507eccaeeceee5027f01fa0171538
author drewp@bigasterisk.com
date Sat, 31 Aug 2013 10:39:04 -0700
parents bef1c3e14eaf
children 3c583603f261
files service/laundry/laundry.go
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/service/laundry/laundry.go	Sat Aug 31 10:35:25 2013 -0700
+++ b/service/laundry/laundry.go	Sat Aug 31 10:39:04 2013 -0700
@@ -70,14 +70,14 @@
 		OutStrike:      GetPin("GPIO9"),
 	}
 	
-	if err := hwio.PinMode(pins.InMotion,		hwio.INPUT_PULLUP); err != nil { panic(err) }
-	if err := hwio.PinMode(pins.InSwitch1,		hwio.INPUT_PULLUP); err != nil { panic(err) }
-	if err := hwio.PinMode(pins.InSwitch2,		hwio.INPUT_PULLUP); err != nil { panic(err) }
-	if err := hwio.PinMode(pins.InSwitch3,		hwio.INPUT_PULLUP); err != nil { panic(err) }
-	if err := hwio.PinMode(pins.InDoorClosed,	hwio.INPUT_PULLUP); err != nil { panic(err) }
-	if err := hwio.PinMode(pins.OutLed,		hwio.OUTPUT); err != nil { panic(err) }
-	if err := hwio.PinMode(pins.OutSpeaker,		hwio.OUTPUT); err != nil { panic(err) }
-	if err := hwio.PinMode(pins.OutStrike,		hwio.OUTPUT); err != nil { panic(err) }
+	if err := hwio.PinMode(pins.InMotion,	  hwio.INPUT_PULLUP); err != nil { panic(err) }
+	if err := hwio.PinMode(pins.InSwitch1,	  hwio.INPUT_PULLUP); err != nil { panic(err) }
+	if err := hwio.PinMode(pins.InSwitch2,	  hwio.INPUT_PULLUP); err != nil { panic(err) }
+	if err := hwio.PinMode(pins.InSwitch3,	  hwio.INPUT_PULLUP); err != nil { panic(err) }
+	if err := hwio.PinMode(pins.InDoorClosed, hwio.INPUT_PULLUP); err != nil { panic(err) }
+	if err := hwio.PinMode(pins.OutLed,       hwio.OUTPUT); err != nil { panic(err) }
+	if err := hwio.PinMode(pins.OutSpeaker,	  hwio.OUTPUT); err != nil { panic(err) }
+	if err := hwio.PinMode(pins.OutStrike,	  hwio.OUTPUT); err != nil { panic(err) }
 	return pins
 }