1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 01:18:28 +00:00

embed: wait 100ms after turning off sdcard/touch circuit

This commit is contained in:
Pavol Rusnak 2018-07-24 14:24:00 +02:00
parent cb9e7b5885
commit 9d4e38bd4c
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 2 additions and 0 deletions

View File

@ -166,6 +166,7 @@ void sdcard_power_off(void) {
// turn off SD card circuitry
HAL_Delay(50);
sdcard_default_pin_state();
HAL_Delay(100);
}
secbool sdcard_is_present(void) {

View File

@ -153,6 +153,7 @@ void touch_power_off(void) {
// turn off CTP circuitry
HAL_Delay(50);
touch_default_pin_state();
HAL_Delay(100);
}
uint32_t touch_read(void)