   return v;
 }
 
+
+
 unsigned long getTimeFunction() {
   tmElements_t tm;
 
   if (RTC.read(tm)) {
     return makeTime(tm);
-  }   
+  }
 
   //Error so just return what we already have
   return now();


              //QUERY_STATE results
              //Op:
              v++[0] = 'O';
              v++[0] = 'p';
              v++[0] = ':';
              v = PrintHexByte(v, KeepAlive_wb_sensors.value[OP_STATE]);

              //OP_STATE value maps to the WB_STATE_ values, for instance 0x04 = WB_STATE_OFF

              v++[0] = ' ';
              v++[0] = 'N';
              v++[0] = ':';
              v = i2str( KeepAlive_wb_sensors.value[OP_STATE_N], v);
              v[0] = 0;

              v = textline2;
              strcat_P(v, label_Dev); v += strlen_P(label_Dev);
              v = PrintHexByte(v, KeepAlive_wb_sensors.value[DEV_STATE]);
              v[0] = 0;

              break;

            case 1:
              //QUERY_SENSORS results
              //Temperature
              v++[0] = 't';
              v = i2str( BYTE2TEMP(KeepAlive_wb_sensors.value[SEN_TEMP]), v);

              //SupplyVoltage
              v++[0] = ' ';
              v++[0] = 'v';
              v = i2str( twobyte2word(&KeepAlive_wb_sensors.value[SEN_VOLT]), v);
              v[0] = 0;

              //Change to second line
              v = textline2;

              //Flame detect
              v++[0] = 'f';
              v = i2str( KeepAlive_wb_sensors.value[SEN_FD], v);

              //Heat energy
              v++[0] = ' ';
              v++[0] = 'h';
              v = i2str( twobyte2word(&KeepAlive_wb_sensors.value[SEN_HE]), v);

              //glow plug resistance in mili Ohm
              v++[0] = ' ';
              v++[0] = 'g';
              v = i2str( KeepAlive_wb_sensors.value[SEN_GPR], v);
              v[0] = 0;
              break;

            case 2:
              updateClockString();
              footerToggle = -1;
              break;
          }

M2_U8NUM(el_dt_year, "c2", 15, 35, &tm.Year);
M2_LIST(list_date) = { &el_dt_day, &el_dt_sep1, &el_dt_month, &el_dt_sep2, &el_dt_year };
M2_HLIST(el_date, NULL, list_date);

//Time
M2_U8NUM(el_ti_hour, "c2", 0, 23, &tm.Hour);
M2_LABEL(el_ti_sep1, NULL, ":");
M2_U8NUM(el_ti_mins, "c2", 0, 59, &tm.Minute);
M2_LIST(list_time) = { &el_ti_hour, &el_ti_sep1, &el_ti_mins};
M2_HLIST(el_time, NULL, list_time);

//Buttons
M2_BUTTON(el_dt_ok, NULL, "OK", fn_button_confirmdatetime);
M2_BUTTON(el_dt_cancel, NULL, "CANCEL", fn_button_showhome);
