Repository navigation
Conversation
Settings > Device > Power > Power-off hold gets a fourth choice, Short press: a short REL press powers off from every screen, and REL's own function (relative measurement, the oscilloscope footer page) moves to a 1 s hold. The 2 s long press does nothing in this mode and no hold progress is shown; instead "Powering off..." is drawn at once, before the saves hold the screen. A wake from a dark screen takes REL's stroke in this mode, as it does for every other key. Stored as hold_ms 0 in settings.json; the default stays at 2 s.
vvzvlad
force-pushed
the
rel-short-power-off
branch
from
November 25, 2026 13:45
fd44ca0 to
3ae5c84
Compare
2 of 3 tasks
Owner
|
Thanks for the work on this. As explained in #118, I've decided not to add a short-press power-off: an accidental REL tap would switch the device off mid-measurement, and REL's everyday actions would move to a hold. The 1 s Power-off hold remains the quick option. Closing this PR together with the issue. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Implements #118.
hold_ms: 0in settings.json. The default stays at 2 s; existing files load unchanged.SYSTem:KEY: press a panel key over SCPI #149, Multimeter input as a third channel in the oscilloscope #150 in the key handling code; I'll rebase whichever lands later.
Testing
pio runbuilds all four environments without new warningsOn ZT703S with Short press: a short REL press powers off; REL held for 1 s toggles relative mode in the meter and turns the footer page on the oscilloscope; the 1 s / 1.5 s / 2 s choices still power off on the hold with the progress box.
Checklist
0x08000000–0x0801FFFF)vendor/is unchanged, or a third-party component is updated as a whole