fix compile USE_PID (#19890)

This commit is contained in:
Barbudor 2023-10-31 20:42:42 +01:00 committed by GitHub
parent 6527442110
commit f9717ceb7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -455,8 +455,6 @@ void PIDShowValues(void) {
}
#ifdef USE_WEBSERVER
void PIDShowValuesWeb(void) {
#define D_PID_DISPLAY_NAME "PID Controller"
#define D_PID_SET_POINT "Set Point"
#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_POWER_FORMAT[] PROGMEM = "{s}%s " "{m}%*_f " D_UNIT_PERCENT;
void PIDShowValuesWeb(void) {
float f_buf;
WSContentSend_P(HTTP_PID_HL);