mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-23 22:01:01 +00:00
feat(core/prodtest): change resolution of TOUCH_POWER command parameter to milliseconds.
This commit is contained in:
parent
897f5b355f
commit
20aad3ef8d
1
core/embed/projects/prodtest/.changelog.d/4407.changed
Normal file
1
core/embed/projects/prodtest/.changelog.d/4407.changed
Normal file
@ -0,0 +1 @@
|
||||
Changed resolution of TOUCH_POWER command parameter to milliseconds.
|
@ -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
|
||||
|
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user