www-thermferm/index.php

changeset 570
1e0192b295b9
parent 517
5fd12d9f3f84
child 578
d694abd9d809
--- a/www-thermferm/index.php	Thu Jan 10 16:33:42 2019 +0100
+++ b/www-thermferm/index.php	Mon Jan 14 22:46:27 2019 +0100
@@ -1,6 +1,6 @@
 <?php
 /*****************************************************************************
- * Copyright (C) 2014-2017
+ * Copyright (C) 2014-2019
  *   
  * Michiel Broek <mbroek at mbse dot eu>
  *
@@ -87,9 +87,7 @@
 if (isset($_POST['SetProfile']) && isset($_POST['key']) && isset($_POST['UUID'])) {
 
     $cmd = array('UNIT PUT '.$_POST['UUID']);
-    if ($_POST['key'] == "Set")
-	$cmd[] = 'PROFILE,'.$_POST['SetProfile'];
-    else if ($_POST['key'] == "Start")
+    if ($_POST['key'] == "Start")
 	$cmd[] = 'PROF_STATE,RUN';
     else if (($_POST['key'] == "Pause") || ($_POST['key'] == "Resume"))
 	$cmd[] = 'PROF_STATE,PAUSE';

mercurial