-
Notifications
You must be signed in to change notification settings - Fork 66
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
Modifications for Digital Input Multiplexers #169
Conversation
- "Include" directory removed (.h files moved to "src") - MFEEPROM.h moved to MF_Modules (.cpp was under "_Boards/Atmel") Other: - Device type constants moved to "config.h" - Header inclusion optimized (main includes collected in "mobifligt.h) - Code formatting and headers made uniform - introduced VS Code formatting config (settings.json)
Firmware for this pull request: |
_Boards/Atmel/Board_Uno/MFBoards.h
Outdated
@@ -40,6 +47,8 @@ | |||
#define MAX_ANALOG_INPUTS 6 | |||
#define MAX_OUTPUT_SHIFTERS 2 | |||
#define MAX_INPUT_SHIFTERS 2 | |||
#define MAX_INPUT_SHIFTERS 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MAX_INPUT_SHIFTERS is repeated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only thing I noticed is a repeated line in _Boards/Atmel/Board_Uno/MFBoards.h
src/Config.cpp
Outdated
@@ -71,7 +70,7 @@ void _activateConfig(); | |||
// ************************************************************ | |||
// configBuffer handling | |||
// ************************************************************ | |||
// reads the EEPROM until NUL terminator and returns the number of characters incl. terminator, starting from given address | |||
// reads the EEPRROM until NULL termination and returns the number of characters incl. NULL termination, starting from given address |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really worth mentioning, but "EEPRROM" is spelled wrong, and the "\0" char is a NUL char used as terminator; NULL is something that has "no" value (or the "placeholder" value representing that).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Must have happened during the merge.
Firmware for this pull request: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
fixes #119