aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-01-11 10:29:36 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-01-11 10:29:36 +0000
commit609b15be00e961794e8a75bf39b714288fda57fc (patch)
tree9b1d4cc7e2c70d16e85547836db7cd0ae7e9fe02 /os/hal/platforms
parentcb616cd61696dc360b0e1e375199be29cd2c9029 (diff)
downloadChibiOS-609b15be00e961794e8a75bf39b714288fda57fc.tar.gz
ChibiOS-609b15be00e961794e8a75bf39b714288fda57fc.tar.bz2
ChibiOS-609b15be00e961794e8a75bf39b714288fda57fc.zip
Different mode for unconnected pins.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5054 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms')
-rw-r--r--os/hal/platforms/STM32/GPIOv2/pal_lld.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32/GPIOv2/pal_lld.h b/os/hal/platforms/STM32/GPIOv2/pal_lld.h
index d00180461..c3d965a57 100644
--- a/os/hal/platforms/STM32/GPIOv2/pal_lld.h
+++ b/os/hal/platforms/STM32/GPIOv2/pal_lld.h
@@ -95,9 +95,9 @@
#define PAL_MODE_RESET PAL_STM32_MODE_INPUT
/**
- * @brief This mode is implemented as output.
+ * @brief This mode is implemented as input with pull-up.
*/
-#define PAL_MODE_UNCONNECTED PAL_STM32_MODE_OUTPUT
+#define PAL_MODE_UNCONNECTED PAL_MODE_INPUT_PULLUP
/**
* @brief Regular input high-Z pad.