mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
S60(P) Disable auto display rotation
This commit is contained in:
@@ -57,6 +57,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#define ORIENTATION_MODE 0 // 0: Right 1:Left 2:Automatic - Default right
|
#define ORIENTATION_MODE 0 // 0: Right 1:Left 2:Automatic - Default right
|
||||||
|
#define MAX_ORIENTATION_MODE 1 // Unlikely to ever change
|
||||||
#define REVERSE_BUTTON_TEMP_CHANGE 0 // 0:Default 1:Reverse - Reverse the plus and minus button assigment for temperature change
|
#define REVERSE_BUTTON_TEMP_CHANGE 0 // 0:Default 1:Reverse - Reverse the plus and minus button assigment for temperature change
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -57,6 +57,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#define ORIENTATION_MODE 2 // 0: Right 1:Left 2:Automatic - Default Automatic
|
#define ORIENTATION_MODE 2 // 0: Right 1:Left 2:Automatic - Default Automatic
|
||||||
|
#define MAX_ORIENTATION_MODE 2 // Up to auto
|
||||||
#define REVERSE_BUTTON_TEMP_CHANGE 0 // 0:Default 1:Reverse - Reverse the plus and minus button assigment for temperature change
|
#define REVERSE_BUTTON_TEMP_CHANGE 0 // 0:Default 1:Reverse - Reverse the plus and minus button assigment for temperature change
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -57,6 +57,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#define ORIENTATION_MODE 2 // 0: Right 1:Left 2:Automatic - Default Automatic
|
#define ORIENTATION_MODE 2 // 0: Right 1:Left 2:Automatic - Default Automatic
|
||||||
|
#define MAX_ORIENTATION_MODE 2 // Up to auto
|
||||||
#define REVERSE_BUTTON_TEMP_CHANGE 0 // 0:Default 1:Reverse - Reverse the plus and minus button assigment for temperature change
|
#define REVERSE_BUTTON_TEMP_CHANGE 0 // 0:Default 1:Reverse - Reverse the plus and minus button assigment for temperature change
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -57,6 +57,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#define ORIENTATION_MODE 2 // 0: Right 1:Left 2:Automatic - Default Automatic
|
#define ORIENTATION_MODE 2 // 0: Right 1:Left 2:Automatic - Default Automatic
|
||||||
|
#define MAX_ORIENTATION_MODE 2 // Up to auto
|
||||||
#define REVERSE_BUTTON_TEMP_CHANGE 0 // 0:Default 1:Reverse - Reverse the plus and minus button assigment for temperature change
|
#define REVERSE_BUTTON_TEMP_CHANGE 0 // 0:Default 1:Reverse - Reverse the plus and minus button assigment for temperature change
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -65,7 +65,8 @@
|
|||||||
* OLED Orientation
|
* OLED Orientation
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#define ORIENTATION_MODE 0 // 0: Right 1:Left 2:Automatic - Default Automatic
|
#define ORIENTATION_MODE 0 // 0: Right 1:Left (2:Automatic N/A)
|
||||||
|
#define MAX_ORIENTATION_MODE 1 // Disable auto mode
|
||||||
#define REVERSE_BUTTON_TEMP_CHANGE 0 // 0:Default 1:Reverse - Reverse the plus and minus button assigment for temperature change
|
#define REVERSE_BUTTON_TEMP_CHANGE 0 // 0:Default 1:Reverse - Reverse the plus and minus button assigment for temperature change
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ static const SettingConstants settingsConstants[(int)SettingsOptions::SettingsOp
|
|||||||
{ 0, 4, 1, CUT_OUT_SETTING}, // MinDCVoltageCells
|
{ 0, 4, 1, CUT_OUT_SETTING}, // MinDCVoltageCells
|
||||||
{ 24, 38, 1, RECOM_VOL_CELL}, // MinVoltageCells
|
{ 24, 38, 1, RECOM_VOL_CELL}, // MinVoltageCells
|
||||||
{ 90, QC_VOLTAGE_MAX, 2, 90}, // QCIdealVoltage
|
{ 90, QC_VOLTAGE_MAX, 2, 90}, // QCIdealVoltage
|
||||||
{ 0, 2, 1, ORIENTATION_MODE}, // OrientationMode
|
{ 0, MAX_ORIENTATION_MODE, 1, ORIENTATION_MODE}, // OrientationMode
|
||||||
{ 0, 9, 1, SENSITIVITY}, // Sensitivity
|
{ 0, 9, 1, SENSITIVITY}, // Sensitivity
|
||||||
{ 0, 1, 1, ANIMATION_LOOP}, // AnimationLoop
|
{ 0, 1, 1, ANIMATION_LOOP}, // AnimationLoop
|
||||||
{ 0, settingOffSpeed_t::MAX_VALUE - 1, 1, ANIMATION_SPEED}, // AnimationSpeed
|
{ 0, settingOffSpeed_t::MAX_VALUE - 1, 1, ANIMATION_SPEED}, // AnimationSpeed
|
||||||
|
|||||||
Reference in New Issue
Block a user