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

faulty init on startup, check for available memory #227

Merged
merged 1 commit into from
Jan 5, 2023

Conversation

elral
Copy link
Collaborator

@elral elral commented Dec 19, 2022

On startup the constructor for the digital input multiplexer is called and the status of each input gets initialized to the current status. With one of the next steps this status get be cleared again, so on startup serial messages could be generated due to status changes of the inputs.
Furthermore it is not checked like for the other devices if the digital input multiplexer fits into the device buffer.

Calling the clear() function is deleted.
Check if device fits into the device buffer is added.

Fixes #226

@github-actions
Copy link

Firmware for this pull request:
Firmware.zip

Copy link
Collaborator

@DocMoebiuz DocMoebiuz left a comment

Choose a reason for hiding this comment

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

Thanks! Good catch.

@DocMoebiuz DocMoebiuz merged commit bd9b4a8 into MobiFlight:main Jan 5, 2023
@elral elral deleted the init_DigInMux branch January 6, 2023 05:31
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.

Input Multiplexer get not initialized to current status on start up
2 participants