     useStartPWM: true,
     brake: true
   },
-+/
-  { // slow down before end-stop
-    maxMillis: 1000,
-    stepMillis: 100,
-    factor: 0.9,
-    add: 0,
-    minPWM: 64,
-    maxPWM: 255,
-    startPWM: 0,
-    useStartPWM: false,
-    brake: false
-  },
-  { // seek end-stop
-    maxMillis: 5000,
-    stepMillis: 100,
-    factor: 1,
-    add: -1,
-    minPWM: 32,
-    maxPWM: 64,
-    startPWM: 64,
-    useStartPWM: true,
-    brake: false
-  },
-  {
-    maxMillis: 0
-  }
-};
 */
 
 const struct accelProfile *accelProfile; // pointer to current profile

            drivePWM = accelProfile[accelProfileIdx].startPWM;
          }

          Serial.print(currentMillis);
          Serial.print(F(" accelProfileIdx: "));
          Serial.println(accelProfileIdx);
        }


    case doorClosing:
      if (doorState == doorClosing && swFront == LOW) {
        motorBrake();
        debug(currentMillis, F("Front switch triggered - door closed\r\n"));
        debug(currentMillis, F("Total ms: "));
        Serial.println(driveTotalMillis);
        setLeds1(green, ledFade);
        doorState = doorClosed;
