Browse Source

on mange quoi ? j'ai faim !

phyto 6 months ago
parent
commit
6e9c5e49d1
2 changed files with 3 additions and 2 deletions
  1. 1
    1
      simulator/rdtemp/cli.ino
  2. 2
    1
      simulator/rdtemp/rdtemp.ino

+ 1
- 1
simulator/rdtemp/cli.ino View File

@@ -116,7 +116,7 @@ switch(key) {
116 116
   case 'h':     param->temp_maxi = value;     break;
117 117
   case 'l':     param->temp_mini = value;     break;
118 118
 
119
-  default:    prtln("GNI ?");
119
+  default:    prtln("GNI ?");                 break;
120 120
   }
121 121
 
122 122
 }

+ 2
- 1
simulator/rdtemp/rdtemp.ino View File

@@ -132,7 +132,8 @@ void loop() {
132 132
           controle_ventilo(0);
133 133
           break;
134 134
       default:
135
-          prtln("M bad control code");
135
+          prt("M "); prt(key);
136
+          prtln(" bad control code");
136 137
           break;          
137 138
       }
138 139
  } 

Loading…
Cancel
Save