 
 unsigned long previousMillis;
 unsigned long currentMillis;
-unsigned long time_since_key_press = 0;
+//unsigned long time_since_key_press = 0;
 
 bool updatedisplay;
 uint8_t footerToggle = 0;

  if (!err) {

    if (ErrorList[0] > 0) {


      err_info_t err_info;

      //  Fault 1

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);
