summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2017-04-04 21:17:10 +0000
committerKarl Palsson <karlp@tweak.net.au>2017-04-04 21:17:10 +0000
commit43a891d5cdd896d1f03fa834115f9a3e481f8683 (patch)
tree94201249bde7ed6100fc3066efa3b4b695df86be /tests
parentc802ef055cdce6d3b36387421e8c53062d19433c (diff)
downloadolsndot-43a891d5cdd896d1f03fa834115f9a3e481f8683.tar.gz
olsndot-43a891d5cdd896d1f03fa834115f9a3e481f8683.tar.bz2
olsndot-43a891d5cdd896d1f03fa834115f9a3e481f8683.zip
i2c-master: f0: fix leds
Diffstat (limited to 'tests')
-rw-r--r--tests/i2c-master/main-stm32f072-disco.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/i2c-master/main-stm32f072-disco.c b/tests/i2c-master/main-stm32f072-disco.c
index b156e3c..26b071a 100644
--- a/tests/i2c-master/main-stm32f072-disco.c
+++ b/tests/i2c-master/main-stm32f072-disco.c
@@ -87,8 +87,8 @@ int main(void)
rcc_clock_setup_in_hsi48_out_48mhz();
/* green led for ticking */
rcc_periph_clock_enable(RCC_GPIOC);
- gpio_mode_setup(LED_DISCO_GREEN_PORT, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, LED_DISCO_GREEN_PORT);
- gpio_set(LED_DISCO_GREEN_PORT, LED_DISCO_GREEN_PORT);
+ gpio_mode_setup(LED_DISCO_GREEN_PORT, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, LED_DISCO_GREEN_PIN);
+ gpio_set(LED_DISCO_GREEN_PORT, LED_DISCO_GREEN_PIN);
setup();