We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b3ddd9 commit 1f5cb30Copy full SHA for 1f5cb30
libraries/SrcWrapper/src/stm32/hw_config.c
@@ -28,6 +28,11 @@ void hw_config_init(void)
28
{
29
configIPClock();
30
31
+#if defined(PWR_CR3_UCPD_DBDIS) || defined(STM32L5xx)
32
+ /* Disable the internal Pull-Up in Dead Battery pins of UCPD peripheral */
33
+ HAL_PWREx_DisableUCPDDeadBattery();
34
+#endif
35
+
36
/* Init DWT if present */
37
#ifdef DWT_BASE
38
dwt_init();
0 commit comments