-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
feat(color): customizable switch UI support #5025
Conversation
I have no problem with fd52437 being reverted... while it does reduce the amount of repetition, I think it starts to blur the lines between driver and UI/helper code too much... It seems like instead of via includable headers for files like |
Not sure I'm following your comment @pfeerick . Seems to me it is now, thanks to Philmoz changes, quite nice |
Why were getFSPhysicalState , getFSPreviousPhysicalState and evalFunctionSwitches declared in board.h instead of switches.h? I can see why
were since there is no other header defining them. |
History (or copy/paste of history). i think having those under switches.h like Phil changed is much better, but I think we all violently agree :D |
Like I changed, actually 😆 Ok, good, just wanted to make sure I wasn't missing something. Think I will need to move fsLedOn / fsLedOff / getFSLedState back into board.h as they actually come out of led_driver.cpp, but the rest can stay where they are. |
My appologies ! No no makes a lot more sense this way. |
Nice! :) |
This PR is now obsolete given some of the changes that have happened. I think I'll probably do very soon a t15 pr for 2.11 that will include an updated version of this |
May also need some changes as 40fd258 may not actually work once the T15 is added to the mix... it seems the build will still break either with that radio, or once DEBUG build is added to the mix. |
Add custom switch UI support to main branch.
Hardware support was already introduced as part of adc refactor