   *   Set serialOn flag.
   *   call serialPowerUp()
   \*****************************************/  
-  if(/*(digitalRead(5) == 0) && */!State.serialOn)
+  if((digitalRead(5) == 0) && !State.serialOn)
   {
     State.serialOn = true;
     serialPowerUp();

  *                 putting this in a
  *                 function)
  \*****************************************/

  // JOSH
  /*****************************************\

void setup() 
{
  resetState(&State);             // Setup the System State structure
  
  pinMode(2, INPUT);              // Setup the Digital Pins       
  pinMode(3, INPUT);
  pinMode(4, OUTPUT);
  pinMode(5, INPUT);

  attachInterrupt(digitalPinToInterrupt(2), INT0_ISR, FALLING);   // Setup Interrupts
  attachInterrupt(digitalPinToInterrupt(3), INT1_ISR, FALLING);
  
  loadDateTime(&Date);            // Load Date_t with Date/Time info
                                  
  disableUnneededPeripherals();   // Disable unneeded peripherals
}

