mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-24 15:28:10 +00:00
core/sdcard: ensure emulator initializes the SD card when first needed
This commit is contained in:
parent
5bd8d9b5bb
commit
d0b1b171f1
@ -87,6 +87,7 @@ void sdcard_init(void) {
|
||||
secbool sdcard_is_present(void) { return sectrue; }
|
||||
|
||||
secbool sdcard_power_on(void) {
|
||||
sdcard_init();
|
||||
sdcard_powered = sectrue;
|
||||
return sectrue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user