From 44c3367a09f2057614392fe779129831618d795c Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Mon, 26 Mar 2012 13:09:08 -0400 Subject: stm32.h: Cleanups. Fix include guard name. Remove unused STM32_FLASH_WAIT_STATES (which was superseded by FLASH_SAFE_WAIT_STATES). Signed-off-by: Marti Bolivar --- libmaple/stm32f2/include/series/stm32.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libmaple/stm32f2/include') diff --git a/libmaple/stm32f2/include/series/stm32.h b/libmaple/stm32f2/include/series/stm32.h index 7ae53b2..29e789f 100644 --- a/libmaple/stm32f2/include/series/stm32.h +++ b/libmaple/stm32f2/include/series/stm32.h @@ -29,8 +29,8 @@ * @brief STM32F2 chip- and series-specific definitions. */ -#ifndef _LIBMAPLE_STM32F2_H_ -#define _LIBMAPLE_STM32F2_H_ +#ifndef _LIBMAPLE_STM32F2_STM32_H_ +#define _LIBMAPLE_STM32F2_STM32_H_ #ifdef __cplusplus extern "C" { @@ -52,10 +52,6 @@ extern "C" { #define STM32_DELAY_US_MULT 20 /* FIXME: dummy value. */ #endif -#ifndef STM32_FLASH_WAIT_STATES -#define STM32_FLASH_WAIT_STATES 3 /* TODO: stop using magic number */ -#endif - /* * Interrupts */ -- cgit v1.2.3