Skip to content

Add support for up to 15 profiles#10

Open
sammko wants to merge 2 commits into
Wattos:masterfrom
sammko:master
Open

Add support for up to 15 profiles#10
sammko wants to merge 2 commits into
Wattos:masterfrom
sammko:master

Conversation

@sammko

@sammko sammko commented Mar 1, 2014

Copy link
Copy Markdown

I noticed the 3 profile LEDs also have an orange LED, and using the binary system with 4 bits, I could fit 16 profiles in. However that would require one of the profiles being 0 and none of the LEDs would be lit which I didn't like, so I just made it 15 profiles. I can't imagine anyone using that many profiles, but meh, why not :).

Comment thread sidewinder.c

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverse the bit-order in the current_profile nibble and put it in revprofile

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