From 000aa4ed21cb179354640917c8223aa9db0656d6 Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Sun, 9 Jun 2024 18:14:17 +0200 Subject: [PATCH] fix(core/prodtest): fix touch_version command --- core/embed/prodtest/.changelog.d/3932.fixed | 1 + core/embed/prodtest/main.c | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 core/embed/prodtest/.changelog.d/3932.fixed diff --git a/core/embed/prodtest/.changelog.d/3932.fixed b/core/embed/prodtest/.changelog.d/3932.fixed new file mode 100644 index 0000000000..242fda1813 --- /dev/null +++ b/core/embed/prodtest/.changelog.d/3932.fixed @@ -0,0 +1 @@ +Fix TOUCH_VERSION command diff --git a/core/embed/prodtest/main.c b/core/embed/prodtest/main.c index b4209ac718..2712703d1e 100644 --- a/core/embed/prodtest/main.c +++ b/core/embed/prodtest/main.c @@ -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