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

FW size reduction & bugfixes #2766

Merged
merged 3 commits into from
Apr 11, 2023

Conversation

kisslorand
Copy link
Contributor

@kisslorand kisslorand commented Apr 9, 2023

Requirements

BTT or MKS TFT

Description

This PR is mostly about size reduction but it also brings some bug fixes.

The bugs fixed are:

  1. Upon first time entering to "Caselight" menu if brightness is already set to any other value than 0 (zero) and the caselight is in "off" state, by setting the state to "on" the brightness resets to 0 (zero). On a later access to "Caselight" menu if the caselight is in "off" state and the caselight brightness was changed by any other guest connected to the mainboard (Octoprint, Pronterface, etc), by setting the state to "on" the brightness resets to the last value that was set by the TFT.

  2. In "Home Offset" menu the offset can be set outside the predefined minimum and maximum limits but once passing those limits the offset cannot be adjusted anymore.

Benefits

  • FW size reduction by more than 550 bytes
  • some bugs fixed

Related Issues

  • none reported, the ones fixed were my own findings

@kisslorand kisslorand force-pushed the Minor-size-reduction branch 6 times, most recently from 22aa0a1 to e25e36c Compare April 10, 2023 10:02
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