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

Float removal #220

Merged
merged 5 commits into from
Jul 13, 2016
Merged

Float removal #220

merged 5 commits into from
Jul 13, 2016

Conversation

protological
Copy link
Collaborator

There were lots of calls to dtostrf which takes a float and prints it. Added some macros to write int based temperature values to log and screen, added macro for printing an integer. Removed some floating point math for ambient calculations. Added comments in preparation for performance improvements and faster throughput

int16 error.  Also there was a 16bit overflow error with the out
of range values.  Also removed some duplicate out of range and
invalid graph defines.

28,296 bytes (98%) of flash of 28,672 bytes. 376 bytes free
fits in the t400 now.

 28,268 bytes (98%) of 28,672 flash bytes. 404 bytes remaining
pretty tight
I know what they are doing.  Removed ambient floating point
operations.  Should function the same as base
@charlespax charlespax merged commit 9fe18bb into master Jul 13, 2016
@protological protological deleted the float_removal branch July 31, 2016 08:04
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