aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-04-11 19:00:32 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-04-11 20:31:39 -0400
commit57b59731b712e8edb89e65de6f7b02555d0832d9 (patch)
treecbefb46221d59b193eb104af77c9fc6c0e211a5c
parent9ef9a63da80d79352d1029397865893a78e918fb (diff)
downloadlibrambutan-57b59731b712e8edb89e65de6f7b02555d0832d9.tar.gz
librambutan-57b59731b712e8edb89e65de6f7b02555d0832d9.zip
Adding delay_us() TODO.
-rw-r--r--libmaple/delay.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmaple/delay.h b/libmaple/delay.h
index e4d85c5..5372ac1 100644
--- a/libmaple/delay.h
+++ b/libmaple/delay.h
@@ -6,6 +6,8 @@
#define _DELAY_H_
static inline void delay_us(uint32 us) {
+ /* TODO this makes unwarranted assumptions about the RCC
+ * config; add a hook so users can make their own decisions. */
/* So (2^32)/12 micros max, or less than 6 minutes */
us *= 12;