Changed portg to portd to light leds on the stm32f4