public void FalconUpdate() /* * Update sharedmem */ { if (BMSreader.IsFalconRunning) //if falcon is running { BMSdata = BMSreader.GetCurrentData(); // get the current shared mem initVars(); // update variables } }
public void FalconUpdate() /* * Update sharedmem */ { if (BMSreader.IsFalconRunning) //if falcon is running { PowerOn = true; BMSdata = BMSreader.GetCurrentData(); // get the current shared mem } else { PowerOn = false; } }