diff options
author | Keith Packard <keithp@keithp.com> | 2013-08-28 22:10:58 -0600 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-08-28 22:10:58 -0600 |
commit | 6802b6a65b1fec06c2c873282be792c40b3c8f5e (patch) | |
tree | d4c62813b7a4a2ce72e46534b7dcdd4f363c5c8b /src/stm/ao_timer.c | |
parent | 8e9ed70f50e3f535c2580820771bb1bc3cd055fe (diff) |
altos/stm: Remove stale timer defines
Stuff from when we weren't using systick
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_timer.c')
-rw-r--r-- | src/stm/ao_timer.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/stm/ao_timer.c b/src/stm/ao_timer.c index daf2f400..5cf1e4a8 100644 --- a/src/stm/ao_timer.c +++ b/src/stm/ao_timer.c @@ -67,20 +67,6 @@ ao_timer_set_adc_interval(uint8_t interval) } #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 |