Debian Codegraph @

ports/stm32/boards/NUCLEO_F722ZE/board_init.c

raw
1 #include "py/mphal.h"
2
3 void board_early_init(void) {
4 // Turn off the USB switch
5 #define USB_PowerSwitchOn pin_G6
6 mp_hal_pin_output(USB_PowerSwitchOn);
7 mp_hal_pin_low(USB_PowerSwitchOn);
8 }