 #define TELEM_RATE_FAST 0.5F
 
 #define RATE_TO_MS(A)   (int)(1000.0 * A)
+
+#define NUM_EVENTS 4 // number of pyro event pins
 
 #define PYRO_1_PIN 42
 #define PYRO_2_PIN 43

    DebugSerial->print(chUnusedStack(gpsThreadWa, sizeof(gpsThreadWa)));
    DebugSerial->print(", ana:");
    DebugSerial->print(chUnusedStack(analogThreadWa, sizeof(analogThreadWa)));
    DebugSerial->print(", dec:");
    DebugSerial->print(chUnusedStack(decisionThreadWa, sizeof(decisionThreadWa)));
    DebugSerial->print(", main:");

float maxPressure = 0.0F;
bool statsOut = false;

// used for tracking times that pyros are activated
unsigned long eventStart[4] = {0,0,0,0};

volatile uint8_t mode = MODE_STARTUP;

