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

Modifications for Digital Input Multiplexers #169

Merged
merged 8 commits into from
Apr 4, 2022
Merged

Conversation

DocMoebiuz
Copy link
Collaborator

fixes #119

GioCC and others added 7 commits March 12, 2022 21:36
- "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)
@github-actions
Copy link

github-actions bot commented Apr 1, 2022

Firmware for this pull request:
Firmware.zip

@@ -40,6 +47,8 @@
#define MAX_ANALOG_INPUTS 6
#define MAX_OUTPUT_SHIFTERS 2
#define MAX_INPUT_SHIFTERS 2
#define MAX_INPUT_SHIFTERS 2
Copy link
Contributor

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

Copy link
Contributor

@GioCC GioCC left a 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
Copy link
Contributor

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).

Copy link
Collaborator Author

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.

@DocMoebiuz DocMoebiuz requested a review from GioCC April 4, 2022 10:11
@github-actions
Copy link

github-actions bot commented Apr 4, 2022

Firmware for this pull request:
Firmware.zip

Copy link
Collaborator

@MobiFlight-Admin MobiFlight-Admin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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.

Support for HW multiplexer ICs
3 participants