aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F4xx/IRQ_STORM/main.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-11-15 19:22:32 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-11-15 19:22:32 +0000
commit57bf9c83de1453dad3e76d91054c12066c04fa18 (patch)
tree19f003b63a18603ae6b2ef3090bed0571fdebb15 /testhal/STM32F4xx/IRQ_STORM/main.c
parentd4187a3454cbfb1735d286d4acf23b062b1febdf (diff)
downloadChibiOS-57bf9c83de1453dad3e76d91054c12066c04fa18.tar.gz
ChibiOS-57bf9c83de1453dad3e76d91054c12066c04fa18.tar.bz2
ChibiOS-57bf9c83de1453dad3e76d91054c12066c04fa18.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3495 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F4xx/IRQ_STORM/main.c')
-rw-r--r--testhal/STM32F4xx/IRQ_STORM/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32F4xx/IRQ_STORM/main.c b/testhal/STM32F4xx/IRQ_STORM/main.c
index ef4ca4307..338f102e0 100644
--- a/testhal/STM32F4xx/IRQ_STORM/main.c
+++ b/testhal/STM32F4xx/IRQ_STORM/main.c
@@ -217,8 +217,8 @@ int main(void) {
* Prepares the Serial driver 2 and GPT drivers 2 and 3.
*/
sdStart(&SD2, NULL); /* Default is 38400-8-N-1.*/
- palSetPadMode(GPIOA, 9, PAL_MODE_ALTERNATE(7));
- palSetPadMode(GPIOA, 10, PAL_MODE_ALTERNATE(7));
+ palSetPadMode(GPIOA, 2, PAL_MODE_ALTERNATE(7));
+ palSetPadMode(GPIOA, 3, PAL_MODE_ALTERNATE(7));
gptStart(&GPTD2, &gpt2cfg);
gptStart(&GPTD3, &gpt3cfg);