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)
|
void t5TouchSetForcedByTimeout(bool forced)
|
||||||
{
|
{
|
||||||
|
if (touchForcedByTimeout == forced) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
touchForcedByTimeout = forced;
|
touchForcedByTimeout = forced;
|
||||||
touchStateEpoch++;
|
touchStateEpoch++;
|
||||||
touchIndicatorRefreshPending = true;
|
touchIndicatorRefreshPending = true;
|
||||||
|
|
||||||
if (forced) {
|
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;
|
touchNeedsWake = false;
|
||||||
if (touchControllerReady && !touchLightSleepActive) {
|
|
||||||
touch.sleep();
|
|
||||||
}
|
|
||||||
} else if (touchInputEnabled && touchControllerReady && !touchLightSleepActive) {
|
} else if (touchInputEnabled && touchControllerReady && !touchLightSleepActive) {
|
||||||
// Defer wake until readTouch() so I2C settles post-state transition.
|
touchNeedsWake = false;
|
||||||
touchNeedsWake = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef MESHTASTIC_INCLUDE_NICHE_GRAPHICS
|
#ifdef MESHTASTIC_INCLUDE_NICHE_GRAPHICS
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[t5s3_epaper_base]
|
[t5s3_epaper_base]
|
||||||
extends = esp32s3_base
|
extends = esp32s3_base
|
||||||
board = t5-epaper-s3
|
board = t5-epaper-s3
|
||||||
board_build.partition = default_16MB.csv
|
board_build.partitions = default_16MB.csv
|
||||||
board_check = true
|
board_check = true
|
||||||
upload_protocol = esptool
|
upload_protocol = esptool
|
||||||
build_flags = -fno-strict-aliasing
|
build_flags = -fno-strict-aliasing
|
||||||
@@ -30,8 +30,8 @@ lib_deps =
|
|||||||
|
|
||||||
[env:t5s3_epaper_inkhud]
|
[env:t5s3_epaper_inkhud]
|
||||||
extends = t5s3_epaper_base, inkhud
|
extends = t5s3_epaper_base, inkhud
|
||||||
board_level = extra # inkhud port is incomplete
|
board_level = extra
|
||||||
board_check = false
|
board_check = true
|
||||||
build_flags =
|
build_flags =
|
||||||
${t5s3_epaper_base.build_flags}
|
${t5s3_epaper_base.build_flags}
|
||||||
${inkhud.build_flags}
|
${inkhud.build_flags}
|
||||||
|
|||||||
Reference in New Issue
Block a user