diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-03 22:31:34 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-03 22:45:41 -0400 |
commit | 2bdf250ecdd0a30aae6f582aa92e5b3e53835a67 (patch) | |
tree | 58ad560bd599e668be7315a1261c945303fa72f9 /wirish/stm32f2 | |
parent | b52f574dd6ec75157aebc48f1504832c0dd1c281 (diff) | |
download | librambutan-2bdf250ecdd0a30aae6f582aa92e5b3e53835a67.tar.gz librambutan-2bdf250ecdd0a30aae6f582aa92e5b3e53835a67.zip |
STM32F2: Turn on SYSCFG I/O compensation during init().
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'wirish/stm32f2')
-rw-r--r-- | wirish/stm32f2/boards_setup.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wirish/stm32f2/boards_setup.cpp b/wirish/stm32f2/boards_setup.cpp index d1ceac0..952e84d 100644 --- a/wirish/stm32f2/boards_setup.cpp +++ b/wirish/stm32f2/boards_setup.cpp @@ -89,6 +89,9 @@ namespace wirish { void series_init(void) { // We need SYSCFG for external interrupts syscfg_init(); + // Turn on the I/O compensation cell, since we drive the + // GPIOs quickly be default. + syscfg_enable_io_compensation(); } } |