Skip to content

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

Open
on7lds wants to merge 1 commit into
AndyTaylorTweet:masterfrom
on7lds:config
Open

Always show selected MMDVM Display Port, even if not present or active at that moment#81
on7lds wants to merge 1 commit into
AndyTaylorTweet:masterfrom
on7lds:config

Conversation

@on7lds

@on7lds on7lds commented Feb 24, 2019

Copy link
Copy Markdown

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
Copy Markdown
Owner

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

@on7lds

on7lds commented Apr 26, 2019

Copy link
Copy Markdown
Author

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

Development

Successfully merging this pull request may close these issues.

2 participants