-
-
Notifications
You must be signed in to change notification settings - Fork 744
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
Disable short press of + button to change temperature to prevent accidentally changing temp only when using boost mode. #2054
base: dev
Are you sure you want to change the base?
Changes from all commits
933e2cc
2bd7b81
9b3effe
450d129
27de7f5
95493b4
fc7aaf2
6632065
9e8bd8e
5b5200a
ab5f5b2
5e8cd33
f759195
cb66787
7fc12da
07457af
b005870
4a1e946
ff213aa
eca4a23
b37c420
522822b
c2c1cab
f6c864d
8c538a2
0fdc052
72a7cf3
9d26f8b
5a67f06
84c61aa
058f04f
211c172
0fa48ed
32d9577
67ecb2d
ea14714
1e756b4
509e6a8
050fa82
d7a58e5
6e30c78
7c26647
a525944
52c4087
30c9ac8
d9d421f
60e3f1d
4286358
78686a8
1b45b36
e1340ad
daca0e6
82a0328
98755f0
06629c6
7869b28
d6c04a0
a712e8d
7bf9620
7e1dfc0
911ef59
6a549b6
14cca01
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,9 +114,10 @@ typedef enum { | |
} usbpdMode_t; | ||
|
||
typedef enum { | ||
DISABLED = 0, // Locking buttons is disabled | ||
BOOST = 1, // Locking buttons for Boost mode only | ||
FULL = 2, // Locking buttons for Boost mode AND for Soldering mode | ||
DISABLED = 0, // All buttons are unlocked | ||
BOOST = 1, // All buttons are locked except boost | ||
FULL = 2, // All buttons are locked | ||
TEMP = 3, // All buttons are locked except -/B to change the temperature | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The TEMP state is worded backwards, all the buttons are unlocked, and the locking mode's trigger (dual press and hold) is disabled, the +/B button is prevented from changing the temperature. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Locking Mode is responsible to lock the buttons in the soldering menu. |
||
} lockingMode_t; | ||
|
||
/* Selection of the soldering tip | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shown when the locking mode is disabled, but the +/A button can no longer change temperature.