mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-29 19:08:12 +00:00
embed: wait 100ms after turning off sdcard/touch circuit
This commit is contained in:
parent
cb9e7b5885
commit
9d4e38bd4c
@ -166,6 +166,7 @@ void sdcard_power_off(void) {
|
|||||||
// turn off SD card circuitry
|
// turn off SD card circuitry
|
||||||
HAL_Delay(50);
|
HAL_Delay(50);
|
||||||
sdcard_default_pin_state();
|
sdcard_default_pin_state();
|
||||||
|
HAL_Delay(100);
|
||||||
}
|
}
|
||||||
|
|
||||||
secbool sdcard_is_present(void) {
|
secbool sdcard_is_present(void) {
|
||||||
|
@ -153,6 +153,7 @@ void touch_power_off(void) {
|
|||||||
// turn off CTP circuitry
|
// turn off CTP circuitry
|
||||||
HAL_Delay(50);
|
HAL_Delay(50);
|
||||||
touch_default_pin_state();
|
touch_default_pin_state();
|
||||||
|
HAL_Delay(100);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t touch_read(void)
|
uint32_t touch_read(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user