aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/delay.h
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-09-07 16:08:34 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-09-07 23:34:23 -0400
commitd91cadb11a9fcf046e80ba398812ee3f285158c0 (patch)
tree3078936a35a22a204dfa127df909084662ac8d71 /libmaple/delay.h
parentd2575d27e944905626f36f926a13a40d4832373e (diff)
downloadlibrambutan-d91cadb11a9fcf046e80ba398812ee3f285158c0.tar.gz
librambutan-d91cadb11a9fcf046e80ba398812ee3f285158c0.zip
Update outdated stm32.h usages.
stm32.h has been updated to prefix its definitions. Update the rest of libmaple to take this into account.
Diffstat (limited to 'libmaple/delay.h')
-rw-r--r--libmaple/delay.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/delay.h b/libmaple/delay.h
index dd68ec6..6f8b8ba 100644
--- a/libmaple/delay.h
+++ b/libmaple/delay.h
@@ -15,7 +15,7 @@
* @param us Number of microseconds to delay.
*/
static inline void delay_us(uint32 us) {
- us *= DELAY_US_MULT;
+ us *= STM32_DELAY_US_MULT;
/* fudge for function call overhead */
us--;