add missing Response to SetPv

This commit is contained in:
Marcus 2021-01-09 18:05:54 +01:00
parent d966f1f74f
commit 2e76946e2d
1 changed files with 2 additions and 1 deletions

View File

@ -237,6 +237,7 @@ void CmndSetPv(void) {
// this runs it at the next second // this runs it at the next second
run_pid_now = true; run_pid_now = true;
} }
ResponseCmndNumber(atof(XdrvMailbox.data));
} }
void CmndSetSp(void) { void CmndSetSp(void) {
@ -358,7 +359,7 @@ void PIDShowValues(void) {
static void run_pid() static void run_pid()
{ {
double power = pid.tick(pid_current_time_secs); double power = pid.tick(pid_current_time_secs);
#ifdef PID_DONT_USE_PID_TOPIC #ifndef PID_DONT_USE_PID_TOPIC
// This part is left inside to regularly publish the PID Power via // This part is left inside to regularly publish the PID Power via
// `%topic%/PID {"power":"0.000"}` // `%topic%/PID {"power":"0.000"}`
char str_buf[FLOATSZ]; char str_buf[FLOATSZ];