aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple')
-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;