]> mj.ucw.cz Git - home-hw.git/blobdiff - Src/main.c
USB interrupts
[home-hw.git] / Src / main.c
index 490e55606fe11db7d9c5d8b918188b38513bcecb..5703590a7e188917f56d4a778eed9016e169be41 100644 (file)
@@ -302,7 +302,7 @@ static void MX_GPIO_Init(void)
   GPIO_InitStruct.Pin = LED_Pin;
   GPIO_InitStruct.Mode = LL_GPIO_MODE_OUTPUT;
   GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_HIGH;
-  GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
+  GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_OPENDRAIN;
   LL_GPIO_Init(LED_GPIO_Port, &GPIO_InitStruct);
 
   /**/