mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-01 10:21:59 +00:00
fix(solo): e-ink landscape build had no DISPLAY_ROTATION
build_unflags runs after build_flags, so unflagging the board's -D DISPLAY_ROTATION=1 in [eink_solo] also removed the landscape env's identical flag: the panel came up portrait (GxEPDDisplay's default 0) and UITask::applyRotation's restore was compiled out, so the rotation setting didn't stick. Only the portrait env unflags it now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,7 @@ extends = WioTrackerL1Eink
|
||||
; The offline queue (messages held for the phone app while it's away) at 128,
|
||||
; not the board's 256: on the nRF52 the 256 x 177 B left ~5 KB of heap next to
|
||||
; the on-device UI (which keeps its own history), too little for a sign buffer.
|
||||
build_unflags = -Ofast -D OFFLINE_QUEUE_SIZE=256 -D DISPLAY_ROTATION=1
|
||||
build_unflags = -Ofast -D OFFLINE_QUEUE_SIZE=256
|
||||
build_flags = ${WioTrackerL1Eink.build_flags}
|
||||
-D OFFLINE_QUEUE_SIZE=128
|
||||
-D DUAL_SERIAL=1
|
||||
@@ -35,7 +35,11 @@ build_flags = ${eink_solo.build_flags}
|
||||
-D DISPLAY_ROTATION=1
|
||||
-D EINK_LARGE_FONT=1
|
||||
|
||||
; The board's own -D DISPLAY_ROTATION=1 is taken out only here: build_unflags
|
||||
; runs after build_flags, so unflagging it in [eink_solo] also dropped the
|
||||
; landscape env's identical flag (that build came up portrait).
|
||||
[env:WioTrackerL1Eink_portrait_solo_dual]
|
||||
extends = eink_solo
|
||||
build_unflags = ${eink_solo.build_unflags} -D DISPLAY_ROTATION=1
|
||||
build_flags = ${eink_solo.build_flags}
|
||||
-D DISPLAY_ROTATION=0
|
||||
|
||||
Reference in New Issue
Block a user