mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-01 06:57:43 +00:00
Fix setting default over temperature
Fix setting default over temperature
This commit is contained in:
parent
0243e2be7e
commit
da7ab3274b
@ -122,6 +122,9 @@
|
|||||||
#ifndef IR_RCV_MIN_UNKNOWN_SIZE
|
#ifndef IR_RCV_MIN_UNKNOWN_SIZE
|
||||||
#define IR_RCV_MIN_UNKNOWN_SIZE 6 // Set the smallest sized "UNKNOWN" message packets we actually care about (default 6, max 255)
|
#define IR_RCV_MIN_UNKNOWN_SIZE 6 // Set the smallest sized "UNKNOWN" message packets we actually care about (default 6, max 255)
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef ENERGY_OVERTEMP
|
||||||
|
#define ENERGY_OVERTEMP 90 // Overtemp in Celsius
|
||||||
|
#endif
|
||||||
|
|
||||||
enum WebColors {
|
enum WebColors {
|
||||||
COL_TEXT, COL_BACKGROUND, COL_FORM,
|
COL_TEXT, COL_BACKGROUND, COL_FORM,
|
||||||
@ -824,6 +827,7 @@ void SettingsDefaultSet2(void)
|
|||||||
// Settings.energy_max_energy_start = 0; // MaxEnergyStart
|
// Settings.energy_max_energy_start = 0; // MaxEnergyStart
|
||||||
// Settings.energy_kWhtotal = 0;
|
// Settings.energy_kWhtotal = 0;
|
||||||
RtcSettings.energy_kWhtotal = 0;
|
RtcSettings.energy_kWhtotal = 0;
|
||||||
|
Settings.param[P_OVER_TEMP] = ENERGY_OVERTEMP;
|
||||||
|
|
||||||
// IRRemote
|
// IRRemote
|
||||||
Settings.param[P_IR_UNKNOW_THRESHOLD] = IR_RCV_MIN_UNKNOWN_SIZE;
|
Settings.param[P_IR_UNKNOW_THRESHOLD] = IR_RCV_MIN_UNKNOWN_SIZE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user