Skip to content
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

use if-else block logic instead of switch in jslider debouncer #793

Merged

Conversation

bsstephan
Copy link
Contributor

I'm not going to say we understand why this fixes #790, but it appears to.

I'm not going to say we *understand* why this fixes OpenStickCommunity#790, but it appears
to.
@bsstephan bsstephan mentioned this pull request Jan 12, 2024
Copy link
Contributor

@arntsonl arntsonl left a comment

Choose a reason for hiding this comment

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

Such weird optimizations in ARM GCC

@arntsonl arntsonl merged commit a15176c into OpenStickCommunity:main Jan 14, 2024
60 checks passed
arntsonl added a commit that referenced this pull request Jan 14, 2024
* use if-else block logic instead of switch in jslider debouncer (#793)

I'm not going to say we *understand* why this fixes #790, but it appears
to.

* Adds a "pin viewer" in pin mapping page (#794)

---------

Co-authored-by: Brian S. Stephan <bss@incorporeal.org>
Co-authored-by: Pelsin <ian@vidales.se>
@arntsonl
Copy link
Contributor

@jfedor2 nailed it, the switch statements didn't have breaks in them!!

arntsonl added a commit that referenced this pull request Jan 16, 2024
* First initial draft of pin-assignment in board config

* Clean-ups to board configs

* Quick fix on gpioaction

* Pulling main into my gpio pin config branch (#797)

* use if-else block logic instead of switch in jslider debouncer (#793)

I'm not going to say we *understand* why this fixes #790, but it appears
to.

* Adds a "pin viewer" in pin mapping page (#794)

---------

Co-authored-by: Brian S. Stephan <bss@incorporeal.org>
Co-authored-by: Pelsin <ian@vidales.se>

---------

Co-authored-by: Brian S. Stephan <bss@incorporeal.org>
Co-authored-by: Pelsin <ian@vidales.se>
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.

JS Selection Slider debouncer somehow causes LS (default) and RS (pin mapping) to oscillate at debounce time
2 participants