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

Bug: Can't access strobe mode on dual-channel Emisar D4V2 #94

Open
fwiffo opened this issue Aug 26, 2024 · 2 comments · May be fixed by #97
Open

Bug: Can't access strobe mode on dual-channel Emisar D4V2 #94

fwiffo opened this issue Aug 26, 2024 · 2 comments · May be fixed by #97

Comments

@fwiffo
Copy link

fwiffo commented Aug 26, 2024

With a build from head, I'm not able access strobe mode with 3H from off. I verified that I'm not in Simple mode, and to be doubly sure, I built and flashed a version with Simple UI totally disabled. I verified that the appropriate #defines are enabled to include all the strobe mode stuff.

I don't know if this is a model-specific issue, or something specific to dual channel lights, or if it's a problem generally.

As far as I can tell, commit 4f7f90d (the fix for #85) is not the cause, but I could be mistaken.

@fwiffo fwiffo changed the title Can't access strobe mode on dual-channel Emisar D4V2 Bug: Can't access strobe mode on dual-channel Emisar D4V2 Aug 26, 2024
fwiffo added a commit to fwiffo/anduril that referenced this issue Sep 1, 2024
The fix for ToyKeeper#85 moved the strobe mode event in off-mode.c inside an
ifdef USE_SIMPLE_UI block where they did not belong. Moving them below
that block fixes ToyKeeper#94.
@fwiffo
Copy link
Author

fwiffo commented Sep 1, 2024

OK, I was wrong, it is that commit causing the problem. I've got a fix and will send a pull request.

fwiffo added a commit to fwiffo/anduril that referenced this issue Sep 1, 2024
Looks like this inadvertantly got placed inside an #ifdef USE_SIMPLE_UI
block when fixing ToyKeeper#85. Moving it below that block fixes it.
@fwiffo fwiffo linked a pull request Sep 1, 2024 that will close this issue
@Benik3
Copy link

Benik3 commented Sep 17, 2024

I can confirm this bug, when I tried to compile PL47G2 without simple UI.
Also I can confirm that the fix is working :)

Isilmerie pushed a commit to Isilmerie/anduril that referenced this issue Oct 14, 2024
Looks like this inadvertantly got placed inside an #ifdef USE_SIMPLE_UI
block when fixing ToyKeeper#85. Moving it below that block fixes it.
Isilmerie pushed a commit to Isilmerie/anduril that referenced this issue Oct 14, 2024
Looks like this inadvertantly got placed inside an #ifdef USE_SIMPLE_UI
block when fixing ToyKeeper#85. Moving it below that block fixes it.
Isilmerie pushed a commit to Isilmerie/anduril that referenced this issue Oct 14, 2024
Looks like this inadvertantly got placed inside an #ifdef USE_SIMPLE_UI
block when fixing ToyKeeper#85. Moving it below that block fixes it.
Isilmerie pushed a commit to Isilmerie/anduril that referenced this issue Oct 14, 2024
Looks like this inadvertantly got placed inside an #ifdef USE_SIMPLE_UI
block when fixing ToyKeeper#85. Moving it below that block fixes it.
Isilmerie pushed a commit to Isilmerie/anduril that referenced this issue Oct 14, 2024
Looks like this inadvertantly got placed inside an #ifdef USE_SIMPLE_UI
block when fixing ToyKeeper#85. Moving it below that block fixes it.
Isilmerie pushed a commit to Isilmerie/anduril that referenced this issue Oct 14, 2024
Looks like this inadvertantly got placed inside an #ifdef USE_SIMPLE_UI
block when fixing ToyKeeper#85. Moving it below that block fixes it.
Isilmerie pushed a commit to Isilmerie/anduril that referenced this issue Oct 14, 2024
Looks like this inadvertantly got placed inside an #ifdef USE_SIMPLE_UI
block when fixing ToyKeeper#85. Moving it below that block fixes it.
Isilmerie pushed a commit to Isilmerie/anduril that referenced this issue Oct 16, 2024
Looks like this inadvertantly got placed inside an #ifdef USE_SIMPLE_UI
block when fixing ToyKeeper#85. Moving it below that block fixes it.
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 a pull request may close this issue.

2 participants