stm32/boards/PYBD_SFx: Automatically turn on EN_3V3 when powering SD/MMC
This commit is contained in:
parent
7f33f158b9
commit
c1a8c7fc09
|
@ -44,6 +44,7 @@
|
|||
#define MICROPY_BOARD_ENTER_STOP board_sleep(1);
|
||||
#define MICROPY_BOARD_LEAVE_STOP board_sleep(0);
|
||||
#define MICROPY_BOARD_ENTER_STANDBY board_sleep(1);
|
||||
#define MICROPY_BOARD_SDCARD_POWER mp_hal_pin_high(pyb_pin_EN_3V3);
|
||||
void board_early_init(void);
|
||||
void board_sleep(int value);
|
||||
|
||||
|
|
Loading…
Reference in New Issue