   lcd.setCursor(1, 0);
   displayTemperaturedigit(tempCinside);
 
-  if ( !isnan(o_tempCinside) ) {
-     float tempdiff = o_tempCinside - tempCinside;
+  if ( o_tempminpassed == 0 ) {
+    return;
+  } else {
+    float tempdiff = o_tempCinside - tempCinside;
 
     lcd.setCursor(8, 0);
-    if ( tempdiff > 0 ) {
+    if ( tempdiff >= 0 ) {
       lcd.print("+");
-    } else if ( tempdiff < 0 ) {
+    } else {
       lcd.print("-");
     }
 

  return 1;
}

/* 
*
*/

  lcd.setCursor(13, 1);
  lcd.print(curno);

  decode_results results;
  irrecv.resume();
  while (irrecv.decode(&results) != 1 ) { }

  switch (results.value) {
    case 0xFF02FD:
      if ( curno >= maxno ) {
        curno = minno;
      } else {
        curno = curno + chstep ;
      }
      lcd.setCursor(13, 1);
      lcd.print(curno);
      initialise_number_select(minno, maxno, curno, chstep);
      break;
    case 0xFF9867:
      return curno;
      break;
    default:
      initialise_number_select(minno, maxno, curno, chstep);
      break;
  }
}

