Add enum for modes of locking buttons (#1955)
* Add enum for modes of locking buttons * Update description for FULL value
This commit is contained in:
@@ -110,6 +110,12 @@ typedef enum {
|
||||
NO_DYNAMIC = 0, // PPS + EPR disabled, fixed PDO only
|
||||
} 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
|
||||
} lockingMode_t;
|
||||
|
||||
// Settings wide operations
|
||||
void saveSettings();
|
||||
bool loadSettings();
|
||||
|
||||
Reference in New Issue
Block a user