Closed ElectricRCAircraftGuy closed 4 years ago
@nimrod46, note that I've added a bunch of TODO
s in the .ino file. Let's land this, then can you please go through and resolve all TODO
s? I can review your changes once you do. Make that a separate PR after this one. They involve insight I do not have so you will need to do it. It's just comments and questions about measurement units.
If you'd like to view the detailed differences, as usual, checkout this branch to your local machine and use meld as your git difftool
to do the comparison, as it is a much better line-by-line comparison tool than GitHub.
If you have any specific line comments though, leave them on GitHub using the "Files Changed" tab above.
This PR fixes a tiny portion of the formatting issues in the file (it was a lot of changes, but only a tiny portion of how many there are to fix, so it is perhaps 1/10 of what needs to be done). It primarily covers the top few dozen defines is all.
Here's the description from my latest commit:
Clean up the top section of #defines; change all
byte
types touint8_t
Cleaning up the #defines included:
false
, all 1s meaning true totrue
When converting
byte
-->uint8_t
, I also changed the parenthesis style fromuint8_t(val)
, which mistakenly looks like a function, to(uint8_t)val
, which is clearly a C-style type cast.This closes #43 (a PR), since it replaces it.