summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dolmetschctl/dolmetschctl.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/dolmetschctl/dolmetschctl.go b/cmd/dolmetschctl/dolmetschctl.go
index fe79332..0c03285 100644
--- a/cmd/dolmetschctl/dolmetschctl.go
+++ b/cmd/dolmetschctl/dolmetschctl.go
@@ -46,7 +46,10 @@ func main() {
log.Printf("controller successfully initialized!")
- // TODO: do something
+ if err = c.LedToggle(1); err != nil {
+ log.Printf("%v", err)
+ os.Exit(1)
+ }
log.Printf("exiting.")
}