aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2019-03-15 09:13:51 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2019-03-15 09:13:51 +0000
commit031d3262c3078bf3ba7397997486a5a6c1f37fdc (patch)
tree12ede7d819f7f024f9413e5c8696ef9776d9925d /os
parentb22993a9c14863f8fdb9b1bea395b92f9466e0f4 (diff)
downloadChibiOS-031d3262c3078bf3ba7397997486a5a6c1f37fdc.tar.gz
ChibiOS-031d3262c3078bf3ba7397997486a5a6c1f37fdc.tar.bz2
ChibiOS-031d3262c3078bf3ba7397997486a5a6c1f37fdc.zip
Fixed Bug #1018
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_19.1.x@12692 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
Diffstat (limited to 'os')
-rw-r--r--os/hal/boards/ST_STM32L4R9I_DISCOVERY/board.h4
-rw-r--r--os/hal/boards/ST_STM32L4R9I_DISCOVERY/cfg/board.chcfg2
2 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/boards/ST_STM32L4R9I_DISCOVERY/board.h b/os/hal/boards/ST_STM32L4R9I_DISCOVERY/board.h
index 07a5d09bd..15f5c0430 100644
--- a/os/hal/boards/ST_STM32L4R9I_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32L4R9I_DISCOVERY/board.h
@@ -611,7 +611,7 @@
* PC10 - SDMMC_1_D2 (alternate 12).
* PC11 - SDMMC_1_D3 (alternate 12).
* PC12 - SDMMC_1_CK (alternate 12).
- * PC13 - JOY_SEL BUTTON (input floating).
+ * PC13 - JOY_SEL BUTTON (input pulldown).
* PC14 - PIN14 (analog).
* PC15 - PIN15 (analog).
*/
@@ -676,7 +676,7 @@
PIN_PUPDR_FLOATING(GPIOC_SDMMC_1_D2) | \
PIN_PUPDR_FLOATING(GPIOC_SDMMC_1_D3) | \
PIN_PUPDR_FLOATING(GPIOC_SDMMC_1_CK) | \
- PIN_PUPDR_FLOATING(GPIOC_JOY_SEL) | \
+ PIN_PUPDR_PULLDOWN(GPIOC_JOY_SEL) | \
PIN_PUPDR_FLOATING(GPIOC_PIN14) | \
PIN_PUPDR_FLOATING(GPIOC_PIN15))
#define VAL_GPIOC_ODR (PIN_ODR_LOW(GPIOC_PIN0) | \
diff --git a/os/hal/boards/ST_STM32L4R9I_DISCOVERY/cfg/board.chcfg b/os/hal/boards/ST_STM32L4R9I_DISCOVERY/cfg/board.chcfg
index 716a19662..08e16415a 100644
--- a/os/hal/boards/ST_STM32L4R9I_DISCOVERY/cfg/board.chcfg
+++ b/os/hal/boards/ST_STM32L4R9I_DISCOVERY/cfg/board.chcfg
@@ -483,7 +483,7 @@
PinLock="Disabled"
Alternate="0"
ID="JOY_SEL BUTTON"
- Resistor="Floating"
+ Resistor="PullDown"
Mode="Input"
Level="Low" />
<pin14