diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-07-18 14:19:04 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-07-18 14:19:04 -0400 |
commit | cb0f0b690e7b2fb33094df89b8f84141a7b7f377 (patch) | |
tree | c5076323fd9972c1552fc5b3d3290dfd2387c7b0 /examples | |
parent | 69d0f4424a5c9d2bba4ec7c8a69968d7ae034f77 (diff) | |
download | librambutan-cb0f0b690e7b2fb33094df89b8f84141a7b7f377.tar.gz librambutan-cb0f0b690e7b2fb33094df89b8f84141a7b7f377.zip |
Add DELAY_US_MULT, for use in generalizing delay_us().
The delay_us() implementation multiplies its specified delay target by
a fixed constant in order to turn it into a busy-loop. This magic
number doesn't work properly when the clock configuration isn't the
same as a stock LeafLabs board. Add DELAY_US_MULT to the MCU-specific
configuration in stm32.h in order to allow other chips to use delay_us().
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions