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

Always show selected MMDVM Display Port, even if not present or active at that moment #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

@on7lds
Copy link

@on7lds on7lds commented Feb 24, 2019

Always fill the MMDVM Display Type: Port dropdown with the possible devices, even if they are not present or active at that moment.
Also, when not present or not active, show it in the dropdown e.g. '/dev/ttyUSB0 (not present now)' or '/dev/ttyNextionDriver (not active now)'
This will prevent showing 'none' as port when the configured port is (temporary) unavailable: e.g. user forgot to plug in the USB/serial convertor or NextionDriver is not running.
It will also help users not being too confused when restoring a configuration on a host which lacks the selected port because of restoring to different hardware (e.g. /dev/ttyS0)

@AndyTaylorTweet
Copy link
Owner

@AndyTaylorTweet AndyTaylorTweet commented Apr 26, 2019

Is it possible to stop MMDVMHost from starting if the selected device is not available in the system ?

@on7lds
Copy link
Author

@on7lds on7lds commented Apr 26, 2019

MMDVMHost will start and when the port is not active when starting, it will run without display.
Would you prefer to not start MMDVMHost in that case ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants