aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/boards')
-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