 const struct accelProfile *accelProfile; // pointer to current profile
 int accelProfileIdx = 0;
 
-// switch inputs, active-low
-const int switchFront = 3; // front is at the closed position
-const int switchFrontIRQ = 1; // TODO: maybe use interrupts & sleep
-
-const int switchBack = 4;
-
-// wire-ORed buttons, active-low
-const int switchTrigger = 2;
-const int switchTriggerIRQ = 0;
-
-
-// unsorted variables below. TODO: refactor & cleanup
+
+/* unsorted variables below. TODO: refactor & cleanup */
 
 // buttons & switches do different things in different states
 enum doorStates { doorClosed, doorOpening, doorOpen, doorClosing, doorBlocked, doorError } doorState;

          ledMode = ledBackward;
          doorState = doorOpening;
        }
        setLeds2(white, black, 3, ledMode);
        swTrigger = HIGH;
      }
      break;

          debug(currentMillis, F("openInterval timeout - closing door\r\n"));
          initDrive(forward, accelProfileHigh);
        }
        setLeds2(white, black, EXTRAPIX, ledForward);
        doorState = doorClosing;
      }
      break;
