Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document boot.c and system.c #364

Merged
merged 5 commits into from
Feb 8, 2025
Merged

Conversation

lhearachel
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@ravepossum ravepossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't have much to comment on here - significant quantity of it is just renaming noise lol.

src/gx_layers.c Outdated Show resolved Hide resolved
src/system.c Show resolved Hide resolved
if (TP_GetUserInfo(&touchCalibration) == TRUE) {
TP_SetCalibrateParam(&touchCalibration);
} else {
touchCalibration.x0 = 0x02AE;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: Do these magic numbers warrant constants? I don't immediately see any out-of-the-box ones in the SDK, so I guess those specific values are just something GF came up with?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, they are just GF-values. I'm not sure what to call them. It would require a deep-dive into how the touch calibration system works. Feels out-of-scope.

@lhearachel lhearachel merged commit 3bf7b14 into pret:main Feb 8, 2025
2 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