aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32f2/include
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-03-26 13:09:08 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-04-11 16:56:54 -0400
commit44c3367a09f2057614392fe779129831618d795c (patch)
treec7f40614410c6d7c4d9ddeacfcb1c3c9030bd72d /libmaple/stm32f2/include
parente486ef1d6d682f2fd4d3605ed873de030d10ae2a (diff)
downloadlibrambutan-44c3367a09f2057614392fe779129831618d795c.tar.gz
librambutan-44c3367a09f2057614392fe779129831618d795c.zip
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 <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/stm32f2/include')
-rw-r--r--libmaple/stm32f2/include/series/stm32.h8
1 files changed, 2 insertions, 6 deletions
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
*/