T5S3 ePaper build fix (#10791)
* Build fix * update * Update platformio.ini * Update SerialConsole.cpp * Remove Network provisioning for this build * Update platformio.ini Per Vid, this is not needed once his PR is merged * fix: resolve merge conflict in SerialConsole.cpp - use setHostDraining(false) from develop --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
GitHub
copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
parent
bdf92e1183
commit
88f20d349a
@@ -418,19 +418,20 @@ void t5BacklightHandleUserInput()
|
||||
|
||||
void t5TouchSetForcedByTimeout(bool forced)
|
||||
{
|
||||
if (touchForcedByTimeout == forced) {
|
||||
return;
|
||||
}
|
||||
|
||||
touchForcedByTimeout = forced;
|
||||
touchStateEpoch++;
|
||||
touchIndicatorRefreshPending = true;
|
||||
|
||||
if (forced) {
|
||||
// While timeout-forced, keep controller asleep to avoid stale IRQ chatter.
|
||||
// Timeout only gates touch input in software. Avoid GT911 I2C here because
|
||||
// PowerFSM same-state transitions can fire from phone contact and screen timeout.
|
||||
touchNeedsWake = false;
|
||||
if (touchControllerReady && !touchLightSleepActive) {
|
||||
touch.sleep();
|
||||
}
|
||||
} else if (touchInputEnabled && touchControllerReady && !touchLightSleepActive) {
|
||||
// Defer wake until readTouch() so I2C settles post-state transition.
|
||||
touchNeedsWake = true;
|
||||
touchNeedsWake = false;
|
||||
}
|
||||
|
||||
#ifdef MESHTASTIC_INCLUDE_NICHE_GRAPHICS
|
||||
|
||||
Reference in New Issue
Block a user