diff --git a/core/embed/projects/prodtest/.changelog.d/4407.changed b/core/embed/projects/prodtest/.changelog.d/4407.changed new file mode 100644 index 0000000000..1e1687d8db --- /dev/null +++ b/core/embed/projects/prodtest/.changelog.d/4407.changed @@ -0,0 +1 @@ +Changed resolution of TOUCH_POWER command parameter to milliseconds. diff --git a/core/embed/projects/prodtest/README.md b/core/embed/projects/prodtest/README.md index d13d1b04a9..a46c2ba932 100644 --- a/core/embed/projects/prodtest/README.md +++ b/core/embed/projects/prodtest/README.md @@ -152,11 +152,11 @@ OK The `TOUCH_POWER` command tests the functionality of touch layer power supply The command requires one input parameter: -* The timeout in seconds +* The timeout in milliseconds The powers up the touch layer and waits for a specific time period so that measurement can be done by test equipment. -Example - wait ten seconds for touch power measurement: +Example - wait ten milliseconds for touch power measurement: ``` TOUCH_POWER 10 OK diff --git a/core/embed/projects/prodtest/main.c b/core/embed/projects/prodtest/main.c index 9af977b037..1ccb01beb4 100644 --- a/core/embed/projects/prodtest/main.c +++ b/core/embed/projects/prodtest/main.c @@ -556,7 +556,7 @@ static void test_touch_power(const char *args) { touch_power_set(true); - systick_delay_ms(timeout * 1000); + systick_delay_ms(timeout); vcp_println("OK");