mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 11:46:31 +00:00
fix compile USE_PID (#19890)
This commit is contained in:
parent
6527442110
commit
f9717ceb7f
@ -455,8 +455,6 @@ void PIDShowValues(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_WEBSERVER
|
#ifdef USE_WEBSERVER
|
||||||
void PIDShowValuesWeb(void) {
|
|
||||||
|
|
||||||
#define D_PID_DISPLAY_NAME "PID Controller"
|
#define D_PID_DISPLAY_NAME "PID Controller"
|
||||||
#define D_PID_SET_POINT "Set Point"
|
#define D_PID_SET_POINT "Set Point"
|
||||||
#define D_PID_PRESENT_VALUE "Current Value"
|
#define D_PID_PRESENT_VALUE "Current Value"
|
||||||
@ -472,6 +470,7 @@ void PIDShowValuesWeb(void) {
|
|||||||
const char HTTP_PID_PV_FORMAT[] PROGMEM = "{s}%s " "{m}%*_f ";
|
const char HTTP_PID_PV_FORMAT[] PROGMEM = "{s}%s " "{m}%*_f ";
|
||||||
const char HTTP_PID_POWER_FORMAT[] PROGMEM = "{s}%s " "{m}%*_f " D_UNIT_PERCENT;
|
const char HTTP_PID_POWER_FORMAT[] PROGMEM = "{s}%s " "{m}%*_f " D_UNIT_PERCENT;
|
||||||
|
|
||||||
|
void PIDShowValuesWeb(void) {
|
||||||
float f_buf;
|
float f_buf;
|
||||||
|
|
||||||
WSContentSend_P(HTTP_PID_HL);
|
WSContentSend_P(HTTP_PID_HL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user