 
   // Initialise fan
   pm(FAN_PIN, OUTPUT);
+
+  // Initialise LED status
+  pm(STATUS_GRN, OUTPUT);
+  pm(STATUS_RED, OUTPUT);
 
   // Initialise motors
   sX.begin();

      if(parseGCode(serialStr))
        out.msg(0);
    }
  }
  return 0;
}

        globalDelay.val = calc3DFeedrate(findex, xindex, yindex, zindex);
      } else if(xindex == INT_MIN && yindex == INT_MIN && zindex == INT_MIN) {
        // TODO Permanently replace globalDelay default value
        globalDelay.defaultVal = findex;
      } else {
        out.msg(1, "Invalid Syntax for Feedrate Parameter");
        return false;
