Open DurvalMenezes opened 6 days ago
Caused by 4f7f90df760f1bd215ce1b2ec671d62b332690c6.
Duplicate of #94.
Fixed with #97.
Thanks @SammysHP. I reviewed the open issues before opening this one, but missed #94.
Is there a fork or something with these bug-fixing PRs applied, or at least an easier way to find them without having to go through each one? It would IMO help everyone to avoid 'reinventing the wheel' as I just did.
No, eventually they will be merged upstream. You should maintain your own fork with the patches you need.
As per the title.
This does not happen with r2024-04-20, but does happen with current trunk (e43203f).
How to reproduce: in current trunk (e43203f):
Add
eg, to the end of
hw/wurkkos/ts10/rgbaux/anduril.h
;Compile a new hex for that light, continuing the eg above:
flash the resulting hex to the flashlight:
From off, press 3H and, instead of the expected strobe (by default, candle mode), absolutely nothing happens: the flashlight remains in the 'off' state.
I've examined the code and I'm pretty sure the problem is caused in
anduril/ui/off-mode.c
by the 3H handling code being incorrectly placed inside a#ifdef USE_SIMPLE_MODE
//#endif
block; this does fix it for me:I'd like for someone else to confirm the bug and my analysis above, and then I will submit a proper PR.
TIA!