1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-29 09:38:08 +00:00

fix(core/prodtest): fix touch_version command

This commit is contained in:
tychovrahe 2024-06-09 18:14:17 +02:00 committed by matejcik
parent ff659a82d1
commit 000aa4ed21
2 changed files with 3 additions and 0 deletions
core/embed/prodtest
.changelog.d
main.c

View File

@ -0,0 +1 @@
Fix TOUCH_VERSION command

View File

@ -391,8 +391,10 @@ static void test_sensitivity(const char *args) {
}
static void touch_version(void) {
touch_power_on();
uint8_t version = touch_get_version();
vcp_println("OK %d", version);
touch_power_off();
}
#endif