From 2ddb4f618f34582ea8c9731898651284aec600e7 Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Thu, 12 May 2016 19:49:20 +0200 Subject: Update LED pinouts, don't think the colors are right yet though. --- stm-init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stm-init.c') diff --git a/stm-init.c b/stm-init.c index 0c0fd0f..216f127 100644 --- a/stm-init.c +++ b/stm-init.c @@ -169,7 +169,7 @@ static void MX_GPIO_Init(void) GPIO_InitTypeDef GPIO_InitStruct; /* GPIO Ports Clock Enable */ - __GPIOJ_CLK_ENABLE(); + __GPIOK_CLK_ENABLE(); /* Configure LED GPIO pins PJ1==red, PJ2==yellow, PJ3==green, PJ4==blue */ GPIO_InitStruct.Pin = LED_RED | LED_YELLOW | LED_GREEN | LED_BLUE; -- cgit v1.2.3