mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-19 12:58:13 +00:00
fix(core/prodtest): fix touch_version command
This commit is contained in:
parent
ff659a82d1
commit
000aa4ed21
1
core/embed/prodtest/.changelog.d/3932.fixed
Normal file
1
core/embed/prodtest/.changelog.d/3932.fixed
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix TOUCH_VERSION command
|
@ -391,8 +391,10 @@ static void test_sensitivity(const char *args) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void touch_version(void) {
|
static void touch_version(void) {
|
||||||
|
touch_power_on();
|
||||||
uint8_t version = touch_get_version();
|
uint8_t version = touch_get_version();
|
||||||
vcp_println("OK %d", version);
|
vcp_println("OK %d", version);
|
||||||
|
touch_power_off();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user