Skip to content

qol: keep screen off for fs updates - #2508

Open
liamcharger wants to merge 1 commit into
InfiniTimeOrg:mainfrom
liamcharger:fs-flash-wake
Open

liamcharger wants to merge 1 commit into
InfiniTimeOrg:mainfrom
liamcharger:fs-flash-wake

Conversation

@liamcharger

Copy link
Copy Markdown
Member

This change keeps the screen off while the fs is updating. InfiniLink fetches the settings file occasionally, so it was annoying to have my screen come on randomly for just that. This also removes the weirdness with the screen sleeping then immediately turning back repeatedly on during a external resource update

I used a counter instead of a bool (flashUsers) just in case another task later tries to overlap later. It only costs a byte, but if a bool is preferred, let me know

I also added flashAcquisitions to resolve one of the comments that was there already. There wasn't a way to guarantee SystemTask had read the message previously

@github-actions

Copy link
Copy Markdown

Build size and comparison to main:

Section Size Difference
text 394640B 48B
data 936B 0B
bss 22960B 0B

Run in InfiniEmu

@liamcharger liamcharger changed the title QoL: keep screen off for fs updates qol: keep screen off for fs updates Nov 23, 2026
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.

1 participant