     case 'F':
         swFront = HIGH; break;
     case 'm':
-        Serial.println(currentMillis); break;
+        debug(currentMillis, F("Door status: "));
+        Serial.println(doorState);
+        break;
     case 'h':
       motorDisable();
       doorState = doorError;

}

void motorEnable() {
  // return control to pull-ups on the driver2 board
  pinMode(motorDiagAPin, INPUT);
  pinMode(motorDiagBPin, INPUT);
  Serial.print(F("Motor driver enabled\r\n"));

    case doorOpen:
      // hold the door open if button pressed during openInterval
      if (swTrigger == LOW) {
        motorFree();
        debug(currentMillis, F("Button switch triggered - door blocked\r\n"));
        setLeds1(red, ledSolid);
        doorState = doorBlocked;
        swTrigger = HIGH;
