 }
 
 // pre/post selection menu 1 - before sunrise
-void drawPreDelayMenu(){
+inline void drawPreDelayMenu(){
   lcd.clear();
   lcd.print("Set delay before");
   lcd.setCursor(0, 1);

  lcd.clear();
  lcd.setCursor(0, 0);
  lcd.print("Closing door");
  char timeoutcount = 0;

  // loop until limit switch is hit  (also add timeout)
  Serial.print("Waiting for door to close");

bool is_day_time = false;
bool door_open = false;
bool in_options_menu = false;
bool in_main_menu = false;
bool in_pre_delay_menu = false;
bool in_post_delay_menu = false;
bool in_time_adj_menu = false;
