Skip to content

Refresh functions too#23

Open
positron96 wants to merge 2 commits intomasterfrom
feature/refresh_functions
Open

Refresh functions too#23
positron96 wants to merge 2 commits intomasterfrom
feature/refresh_functions

Conversation

@positron96
Copy link
Copy Markdown
Owner

Only speed and direction is periodically sent to rails now.
Extend this functionality to functions too.

Lets start with F0..F12.

Along the way, DCC RegisterList class needs to be rewritten or removed. Otherwise it will need to contain not a single packet per slot, but multiple, and will need to have logic to prioritize. Since it has raw DCC packets, it doesn't have information to know what packets to choose. On the other hand, CommandStation does contain this information and already iterates over slots, so it makes sense to move queue generation there.

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.

1 participant