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

- Moved receive queue (not really sure w/ this API)


git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Go/trunk/xaal-lib/apps@3124 b32b6428-25c9-4566-ad07-03861ab6144f
parent 140d905b
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ func (l *Lamp) turnOff(xAALLib.MessageBody) *xAALLib.MessageBody {
return nil
}
// toggle the light
// toggle the light, to blink it
func (l *Lamp) toggle(xAALLib.MessageBody) *xAALLib.MessageBody {
light := l.dev.GetAttribute("light")
if light.Value.(bool) == true {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment