Author: ks156
Date: 2009-08-13 06:41:17 +0200 (Thu, 13 Aug 2009)
New Revision: 5306
Modified:
firmware/tuxcore/trunk/motors.c
Log:
* Reduced the hysteresis value for the wings startup sequence to avoid too many
movements. The new mechanics is a bit different than the previous versions.
Modified: firmware/tuxcore/trunk/motors.c
===================================================================
--- firmware/tuxcore/trunk/motors.c 2009-08-09 14:12:30 UTC (rev 5305)
+++ firmware/tuxcore/trunk/motors.c 2009-08-13 04:41:17 UTC (rev 5306)
@@ -69,7 +69,7 @@
#define FLIP_TIMER_INIT 0xFF
/** Minimum difference required between the period the flippers are moving from
* up to down and from down to up. */
-#define FLIPPERS_RESETTIMER_HYST 0x10
+#define FLIPPERS_RESETTIMER_HYST 0x0A
/** Number of periods remaining before stopping the eyes.
* Normally used when braking, to stop the motor after a short period of
|