Skip to content

fix(touch): avoid FT6X36 reset on every read and harden brightness menu - #3115

Merged
bmorcelli merged 1 commit into
BruceDevices:devfrom
chinderdelis:freenove-fnk0104b-generic
Nov 19, 2026
Merged

bmorcelli merged 1 commit into
BruceDevices:devfrom
chinderdelis:freenove-fnk0104b-generic

Conversation

@chinderdelis

Copy link
Copy Markdown

Proposed Changes

Generic fixes split out from #3073; the Freenove board changes stay in #3073.

  • touch.cpp: do not call touch.reset() on every FT6X36 read. It toggles the hardware RST pin (30 ms low + 160 ms release) on every sample, making drags ~190 ms per sample and occasionally leaving the controller wedged. Reading FT6X36_REG_STATUS already clears the interrupt/point latch.
  • settings.cpp: clamp brightness to >=1 (a saved 0 leaves the screen dark with no visible UI to raise it) and disable the body touch zone while the brightness menu is open (the slider sits inside the SelPress zone).

These are not board-specific.

Verification

Hardware-tested on Freenove FNK0104AB as part of #3073 (touch drag, brightness menu, config save).

Rebased on current dev @ fa6bcbf3:

  • ES3C28P regression build: PASS locally.
  • Freenove-FNK0104AB build: PASS locally with the combined v0.1.2 validation build.

User-Facing Change

Fix slow/wedged FT6X36 touch reads and make the brightness menu safe to use.

@bmorcelli
bmorcelli merged commit b8207a0 into BruceDevices:dev Nov 19, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants