diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-07-08 13:50:34 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-07-08 13:50:34 +0000 |
commit | 1a1058cda3211faa65b8f622fb1f79d9a673efc4 (patch) | |
tree | 8129985db38f6c359575f49bac84c79f8ca113c4 | |
parent | 7f96cf83f5bc9e2f4fcd1b9f060cffe8f4f326e8 (diff) | |
download | ChibiOS-1a1058cda3211faa65b8f622fb1f79d9a673efc4.tar.gz ChibiOS-1a1058cda3211faa65b8f622fb1f79d9a673efc4.tar.bz2 ChibiOS-1a1058cda3211faa65b8f622fb1f79d9a673efc4.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4439 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | tools/gencfg/processors/boards/stm32f4xx/templates/board.h.ftl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gencfg/processors/boards/stm32f4xx/templates/board.h.ftl b/tools/gencfg/processors/boards/stm32f4xx/templates/board.h.ftl index 59790e41e..f424822fd 100644 --- a/tools/gencfg/processors/boards/stm32f4xx/templates/board.h.ftl +++ b/tools/gencfg/processors/boards/stm32f4xx/templates/board.h.ftl @@ -165,11 +165,11 @@ [#if mode == "Input"]
[#assign out = "PIN_MODE_INPUT(" + port_name + "_" + name + ")" /]
[#elseif mode == "Output"]
- [#assign out = "PIN_MODE_OUTPUT(" + port_name + "_" + pin_name + ")" /]
+ [#assign out = "PIN_MODE_OUTPUT(" + port_name + "_" + name + ")" /]
[#elseif mode == "Alternate"]
- [#assign out = "PIN_MODE_ALTERNATE(" + port_name + "_" + pin_name + ")" /]
+ [#assign out = "PIN_MODE_ALTERNATE(" + port_name + "_" + name + ")" /]
[#else]
- [#assign out = "PIN_MODE_ANALOG(" + port_name + "_" + pin_name + ")" /]
+ [#assign out = "PIN_MODE_ANALOG(" + port_name + "_" + name + ")" /]
[/#if]
[#if pinidx == 0]
[#assign line = "#define VAL_" + port_name + "_MODER (" + out /]
|