fix bootloader validation && adjust touchscreen sensitivity#301
fix bootloader validation && adjust touchscreen sensitivity#301lihuanhuan merged 2 commits intoOneKeyHQ:mainfrom
Conversation
WalkthroughThe updates change configuration values and version checks in the GT911 touch controller code. In the firmware image verification code, the logic now checks if a secondary firmware file exists before loading or copying data, and adds a fallback for older hardware if the file is missing. Changes
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
⏰ Context from checks skipped due to timeout of 90000ms (3)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
core/embed/trezorhal/gt911.c(1 hunks)core/embed/trezorhal/image.c(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: Style check
- GitHub Check: Gen check
- GitHub Check: Defs check
🔇 Additional comments (4)
core/embed/trezorhal/gt911.c (4)
143-143: Changed version checkVersion check changed from 0x4F to 0x50.
149-149: Updated config versionConfig version updated from 0x4F to 0x50.
151-151: Reduced shake countShake count halved from 0x22 to 0x11.
153-153: Lowered touch levelScreen touch level reduced from 0xA0 to 0x60.
Summary by CodeRabbit