mirror of
https://github.com/licsber/micropython.git
synced 2024-09-23 02:20:25 +08:00
8 lines
188 B
C
8 lines
188 B
C
|
#include "py/mphal.h"
|
||
|
|
||
|
void NUCLEO_H723ZG_board_early_init(void) {
|
||
|
// Turn off the USB switch.
|
||
|
mp_hal_pin_output(pyb_pin_OTG_FS_POWER);
|
||
|
mp_hal_pin_low(pyb_pin_OTG_FS_POWER);
|
||
|
}
|