Skip to content
Snippets Groups Projects
Commit 72723377 authored by jkerdreu's avatar jkerdreu
Browse files

Cleanning


git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Go/trunk/xaal-lib/apps@3162 b32b6428-25c9-4566-ad07-03861ab6144f
parent 6de7c5ce
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,6 @@
package main
import (
"fmt"
"time"
"xAAL/xaal"
......@@ -76,7 +75,6 @@ func (l *Lamp) setBrightness(args xaal.MessageBody) *xaal.MessageBody {
if value > 100 {
value = 100
}
fmt.Println("set brightness to", value)
l.dev.GetAttribute("brightness").SetValue(value)
}
return nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment