STM32F1 SPI1 bugfix (#14679)
This commit is contained in:
committed by
Scott Lahteine
parent
5b2fd3ad86
commit
a38b9da672
@@ -201,6 +201,11 @@ void HAL_init(void) {
|
||||
#if PIN_EXISTS(LED)
|
||||
OUT_WRITE(LED_PIN, LOW);
|
||||
#endif
|
||||
#if PIN_EXISTS(USB_CONNECT)
|
||||
OUT_WRITE(USB_CONNECT_PIN, !USB_CONNECT_INVERTING); // USB clear connection
|
||||
delay(1000); // Give OS time to notice
|
||||
OUT_WRITE(USB_CONNECT_PIN, USB_CONNECT_INVERTING);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* VGPV Done with defines
|
||||
|
||||
Reference in New Issue
Block a user