aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
Diffstat (limited to 'testhal')
-rw-r--r--testhal/STM32F1xx/ADC/main.c2
-rw-r--r--testhal/STM32F4xx/ADC/main.c2
-rw-r--r--testhal/STM32L1xx/ADC/main.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/testhal/STM32F1xx/ADC/main.c b/testhal/STM32F1xx/ADC/main.c
index bfe8997f9..700801864 100644
--- a/testhal/STM32F1xx/ADC/main.c
+++ b/testhal/STM32F1xx/ADC/main.c
@@ -126,7 +126,7 @@ int main(void) {
* Setting up analog inputs used by the demo.
*/
palSetGroupMode(GPIOC, PAL_PORT_BIT(0) | PAL_PORT_BIT(1),
- PAL_MODE_INPUT_ANALOG);
+ 0, PAL_MODE_INPUT_ANALOG);
/*
* Creates the blinker thread.
diff --git a/testhal/STM32F4xx/ADC/main.c b/testhal/STM32F4xx/ADC/main.c
index 221792a57..59c7b264d 100644
--- a/testhal/STM32F4xx/ADC/main.c
+++ b/testhal/STM32F4xx/ADC/main.c
@@ -127,7 +127,7 @@ int main(void) {
* Setting up analog inputs used by the demo.
*/
palSetGroupMode(GPIOC, PAL_PORT_BIT(1) | PAL_PORT_BIT(2),
- PAL_MODE_INPUT_ANALOG);
+ 0, PAL_MODE_INPUT_ANALOG);
/*
* Creates the blinker thread.
diff --git a/testhal/STM32L1xx/ADC/main.c b/testhal/STM32L1xx/ADC/main.c
index 2af3703e8..e84e4843e 100644
--- a/testhal/STM32L1xx/ADC/main.c
+++ b/testhal/STM32L1xx/ADC/main.c
@@ -130,7 +130,7 @@ int main(void) {
* Setting up analog inputs used by the demo.
*/
palSetGroupMode(GPIOC, PAL_PORT_BIT(0) | PAL_PORT_BIT(1),
- PAL_MODE_INPUT_ANALOG);
+ 0, PAL_MODE_INPUT_ANALOG);
/*
* Creates the blinker thread.