mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-03-20 09:18:39 +05:00
chore: formatting
This commit is contained in:
@@ -19,7 +19,7 @@ lib_deps = ESP32Async/AsyncTCP@^3.4.10
|
||||
pstolarz/OneWireNg@^0.14.1
|
||||
;milesburton/DallasTemperature@^4.0.5
|
||||
https://github.com/Laxilef/Arduino-Temperature-Control-Library#fix_85c
|
||||
https://github.com/Laxilef/esp32DHT#idf5
|
||||
https://github.com/Laxilef/esp32DHT#idf5
|
||||
;laxilef/TinyLogger@^1.1.1
|
||||
https://github.com/Laxilef/TinyLogger#custom_handlers
|
||||
lib_ignore = OneWire
|
||||
|
||||
@@ -19,7 +19,7 @@ protected:
|
||||
const char* getTaskName() override {
|
||||
return "Regulator";
|
||||
}
|
||||
|
||||
|
||||
/*BaseType_t getTaskCore() override {
|
||||
return 1;
|
||||
}*/
|
||||
@@ -28,7 +28,7 @@ protected:
|
||||
return 4;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
void loop() {
|
||||
if (vars.states.restarting || vars.states.upgrading) {
|
||||
return;
|
||||
@@ -155,7 +155,7 @@ protected:
|
||||
);
|
||||
float etResult = settings.heating.target + settings.equitherm.shift + sf * (
|
||||
tempDelta >= 0
|
||||
? pow(tempDelta, 1.0f / settings.equitherm.exponent)
|
||||
? pow(tempDelta, 1.0f / settings.equitherm.exponent)
|
||||
: -(pow(-(tempDelta), 1.0f / settings.equitherm.exponent))
|
||||
);
|
||||
|
||||
@@ -204,7 +204,7 @@ protected:
|
||||
}*/
|
||||
|
||||
float error = pidRegulator.setpoint - pidRegulator.input;
|
||||
bool hasDeadband = settings.pid.deadband.enabled
|
||||
bool hasDeadband = settings.pid.deadband.enabled
|
||||
&& (error > -(settings.pid.deadband.thresholdHigh))
|
||||
&& (error < settings.pid.deadband.thresholdLow);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user