-
-
Notifications
You must be signed in to change notification settings - Fork 351
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
fix(cpn): T-Pro function switches #4902
Conversation
No no no, the customisable (function) switches name need to be displayed as SWx for end users, on radio too (and always have been, sorry if I have been unclear). The issue with 'alias' names is only those where used in yaml before 2.10 |
So the only change needs to be in yaml_rawswitch.cpp decode to map SE -> SW1 thru SJ - SW6 for T-Pro radios only. The encode yaml is SW1 thru SW6. Correct? |
In 2.9, customisable switches are displayed SW1 to SW6 on radio, and encoded in yaml as SE to SJ for TPro I belive TPro was the only radio with customisable switches in 2.9 |
cc7e630
to
9223690
Compare
@3djc hopefully I have got it right this time |
This isn't going to conflict with the t-pro v2 having extra switches between the triggers and the pots which it calls SE and SF, right? the v1 t-pro doesn't have these switches. |
It shouldn't no. The TPro V1 actually does have those switches, but they default to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes #4898
Note: I have not tested on hardware or simulator