altos: Disable debug printfs and fix pad ignite time for telefire
authorKeith Packard <keithp@keithp.com>
Thu, 30 Aug 2012 21:14:57 +0000 (16:14 -0500)
committerKeith Packard <keithp@keithp.com>
Thu, 30 Aug 2012 21:14:57 +0000 (16:14 -0500)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_pad.c
src/drivers/ao_pad.h

index cd901aa3014d5f6c14e0b2a74df99314f2af8d25..e47859a5f60880c1bb2a370634895ed7b17c8fa7 100644 (file)
@@ -24,7 +24,7 @@ static __xdata uint8_t ao_pad_ignite;
 static __xdata struct ao_pad_command   command;
 static __xdata struct ao_pad_query     query;
 
 static __xdata struct ao_pad_command   command;
 static __xdata struct ao_pad_query     query;
 
-#if 1
+#if 0
 #define PRINTD(...) printf(__VA_ARGS__)
 #define FLUSHD()    flush()
 #else
 #define PRINTD(...) printf(__VA_ARGS__)
 #define FLUSHD()    flush()
 #else
index 3b0cf1fe27260635e007e08539ff5e6aafef4244..ae4f3db46180584de3ca78ee8fcf575769a2e1c8 100644 (file)
@@ -50,7 +50,7 @@ struct ao_pad_query {
  */
 #define AO_PAD_FIRE            3
 
  */
 #define AO_PAD_FIRE            3
 
-#define AO_PAD_FIRE_TIME       AO_MS_TO_TICKS(1000)
+#define AO_PAD_FIRE_TIME       AO_MS_TO_TICKS(250)
 
 #define AO_PAD_ARM_STATUS_DISARMED     0
 #define AO_PAD_ARM_STATUS_ARMED                1
 
 #define AO_PAD_ARM_STATUS_DISARMED     0
 #define AO_PAD_ARM_STATUS_ARMED                1