Skip to content

Commit

Permalink
[fix][#207] Updating Stax ChoiceList positions
Browse files Browse the repository at this point in the history
  • Loading branch information
lpascal-ledger committed Sep 24, 2024
1 parent 92121e6 commit fd21071
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- conftest: Added a all_eink device option to target Stax and Flex
- conftest: Added a autouse fixture to skip unsupported devices

### Fixed

- firmware/stax: Choice List positions were no longer correct compared to latest NBGL evolutions

## [1.23.0] - 2024-07-25

### Changed
Expand Down
15 changes: 7 additions & 8 deletions src/ragger/firmware/touch/positions.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,15 @@ def __iter__(self):
},
"ChoiceList": {
Firmware.STAX: {
# Up to 6 (5?) choice in a list
1: Position(200, 190),
2: Position(200, 260),
3: Position(200, 340),
4: Position(200, 410),
5: Position(200, 480),
6: Position(200, 550)
# Up to 5 choices in a list
1: Position(200, 140),
2: Position(200, 235),
3: Position(200, 330),
4: Position(200, 425),
5: Position(200, 520),
},
Firmware.FLEX: {
# Up to 5 choice in a list
# Up to 5 choices in a list
1: Position(240, 150),
2: Position(240, 240),
3: Position(240, 330),
Expand Down

0 comments on commit fd21071

Please sign in to comment.