Author: remi
Date: 2008-08-16 12:04:45 +0200 (Sat, 16 Aug 2008)
New Revision: 1514
Modified:
software_suite_v2/tuxware/pytuxisalive/trunk/src/tuxisalive/lib/httpserver/AttituneToMacroDecl.py
Log:
* fixed a bug in the led_blink duration in the attitunes reader.
Modified:
software_suite_v2/tuxware/pytuxisalive/trunk/src/tuxisalive/lib/httpserver/AttituneToMacroDecl.py
===================================================================
---
software_suite_v2/tuxware/pytuxisalive/trunk/src/tuxisalive/lib/httpserver/AttituneToMacroDecl.py
2008-08-16 09:38:34 UTC (rev 1513)
+++
software_suite_v2/tuxware/pytuxisalive/trunk/src/tuxisalive/lib/httpserver/AttituneToMacroDecl.py
2008-08-16 10:04:45 UTC (rev 1514)
@@ -35,7 +35,7 @@
}
def ledsBlinkTmc(struct):
- duration = (struct['speed'] * 0.008)
+ duration = (struct['speed'] * 0.004)
cmd = 'TUX_CMD:LED:BLINK:LED_BOTH,%d,%f' % (struct['count'], duration)
return [cmd,]
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn