   if ( DoorPosition == DOOR_POSITION_DOWN ) {
     return;
   }
-  moveDoorDown(REVOLUTIONS_TO_CHANGE);
+  moveDoorDown(RevolutionsToChange);
 }
 
 void moveDoorUp(long revolutions) {

const int CLOCK_MIN_THRESH_UP_ADDRESS       = 6;
const int CLOCK_HOUR_THRESH_DOWN_ADDRESS    = 7;
const int CLOCK_MIN_THRESH_DOWN_ADDRESS     = 8;
const int EEPROM_UNSET                      = 255;

// Motor constants
const int MOTOR_MAX_RPMS                    = 150;
const int STEPS_PER_REVOLUTION              = 200;
const int MOTOR_SPEED_STEPS_PER_SECOND      = ( MOTOR_MAX_RPMS / 60 ) * STEPS_PER_REVOLUTION;
const int MOTOR_ACCEL_STEPS_PER_SEC_PER_SEC = 60;
// Disable motor driver when stopped. 
// Decreases power consumption and heat from motor.
const bool MOTOR_DISABLE_ON_STOP            = true;

#include <Wire.h>
#include <RTClib.h>

#define DEBUG 1
// Set to 1 if you want to force setting of RTC to compilation time.
// You probably want to set this back to 0 then reflash the device when done.
#define FORCE_SET_RTC 0
