1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-23 13:51:00 +00:00

feat(core/prodtest): change resolution of TOUCH_POWER command parameter to milliseconds.

This commit is contained in:
tychovrahe 2025-01-03 09:41:57 +01:00 committed by TychoVrahe
parent 897f5b355f
commit 20aad3ef8d
3 changed files with 4 additions and 3 deletions

View File

@ -0,0 +1 @@
Changed resolution of TOUCH_POWER command parameter to milliseconds.

View File

@ -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

View File

@ -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");