altos/stm: Remove stale timer defines
authorKeith Packard <keithp@keithp.com>
Thu, 29 Aug 2013 04:10:58 +0000 (22:10 -0600)
committerKeith Packard <keithp@keithp.com>
Thu, 29 Aug 2013 04:10:58 +0000 (22:10 -0600)
Stuff from when we weren't using systick

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/ao_timer.c

index daf2f4000f3a7c3fc012064ac431e5edc1378fdd..5cf1e4a87dd37ab88be0c562e38ff1b78f699384 100644 (file)
@@ -67,20 +67,6 @@ ao_timer_set_adc_interval(uint8_t interval)
 }
 #endif
 
 }
 #endif
 
-/*
- * According to the STM clock-configuration, timers run
- * twice as fast as the APB1 clock *if* the APB1 prescaler
- * is greater than 1.
- */
-
-#if AO_APB1_PRESCALER > 1
-#define TIMER_23467_SCALER 2
-#else
-#define TIMER_23467_SCALER 1
-#endif
-
-#define TIMER_10kHz    ((AO_PCLK1 * TIMER_23467_SCALER) / 10000)
-
 #define SYSTICK_RELOAD (AO_SYSTICK / 100 - 1)
 
 void
 #define SYSTICK_RELOAD (AO_SYSTICK / 100 - 1)
 
 void