-
-
Notifications
You must be signed in to change notification settings - Fork 670
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
improve T2B1 homescreen checks #3407
Conversation
On second thought, i decided to move the homescreen format check to the homescreen module in rust. The format is dependent on the homescreen implementation, the check code is reused there and it eliminates the need for model-specific code in python. I didn't want to reimplement detailed error messages (format check failing due to dimensions, not being grayscale etc), i don't think its needed as it is also checked in CLI or suite, so unified message should be enough. |
I wanted to suggest a refactor of the TR version of homescreen check, but it involved changes that are somewhat more spread out. Please check my commits. |
ACK for the TR refactor and related changes. |
So that cstr! can be used in const contexts. This is not critical but it's nice-to-have as long as we are on nightly anyway.
which is slightly more correct
[no changelog]
9cdf69d
to
59e8b99
Compare
squashed, force-pushed, waiting for CI results |
@TychoVrahe can you provide a |
sorry for the delay. |
Info:
|
can i approve this ? |
:yes: |
closes #3263