Beacon doesn't save the ramped value when manual memory is in use.
Bug #1943290 reported by
Ariadne Haske
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Flashlight Firmware Repository |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
D4SV2 running 2021-08-31.
Reproduction Steps:
* Enter Advanced UI
* Ramp light to 50/150.
* Activate Manual Memory to save current brightness (50/150).
* Enter Ramp -> Ramp light to 100/150.
* Enter Blinky/Utility Mode
* Switch to Beacon Mode
Light beacons at 50/150 (the Manual Memory value vs the Ramp value)
Desired Behavior:
Entering Beacon mode should use the current ramp level, not the manual memory level.
Workaround:
Use Automatic Memory (Hybrid) Set Manual Memory timer to 1 minute.
* Enter Advanced UI
* Enter Ramp Config
* Enter Manual Memory Timer
* Configure for 1 minute.
description: | updated |
Changed in flashlight-firmware: | |
status: | New → Confirmed |
To post a comment you must log in.
Hey, good catch! I'm pretty sure I know exactly when this behavior started -- anduril2 branch r594. I'm not entirely sure if it should be categorized as a bug or not though.
https:/ /bazaar. launchpad. net/~toykeeper/ flashlight- firmware/ anduril2/ revision/ 594
If I enable the manual memory timer (a.k.a. hybrid memory), this is what I see:
- Ramp to the desired brightness.
- Turn the light off.
- Go to beacon mode.
- Turn light off, then wait more than than N minutes, where N is the duration of the manual memory timer.
- Go to beacon mode again.
Result: Beacon mode uses the last-ramped level the first time, and the manual memory level the second time.
The question is... if the memory timer is set to zero (i.e. reset brightness to manually-saved level immediately after turning light off), what is the correct behavior? Is returning memory to the manual level immediately correct, or a bug?
For anyone else who runs into this, it may help to give the timer a non-zero value so it will remember the ramp level long enough to reach beacon mode.