diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/i2c-master/main-stm32f072-disco.c | 4 |
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(); |