From 2ba001e626962c56cbb3099678d0f70dcfa66aaf Mon Sep 17 00:00:00 2001 From: Xavier Chapron Date: Mon, 31 Jul 2023 12:06:08 +0200 Subject: [PATCH] firmware/stax/use_cases.py: Increase confirm to 2.4sec This is necessary to adapt for Hold to approve duration change in the SDK. --- CHANGELOG.md | 5 +++++ src/ragger/firmware/stax/use_cases.py | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c48369ca..a93f3b1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.11.2] - 2023-07-31 + +### Changed: +- firmware:use_case: Increase confirm time to 2.4 sec following SDK change + ## [1.11.1] - 2023-07-19 ### Fixed: diff --git a/src/ragger/firmware/stax/use_cases.py b/src/ragger/firmware/stax/use_cases.py index 885cf253..f031d23f 100644 --- a/src/ragger/firmware/stax/use_cases.py +++ b/src/ragger/firmware/stax/use_cases.py @@ -109,8 +109,8 @@ def reject(self): self.client.finger_touch(*self.positions["reject"]) def confirm(self): - # SDK needs at least 1.5s for long press. - self.client.finger_touch(*self.positions["confirm"], 1.5) + # SDK needs at least 2.4s for long press. + self.client.finger_touch(*self.positions["confirm"], 2.4) class UseCaseViewDetails(_UseCase):