void CalculateRudderAngle(void) { rudderSensorData.RudderPositionAngle = PotToRads(rudderSensorData.PotValue, rudderCalData.StarLimitValue, rudderCalData.PortLimitValue); }
void CalculateBallastAngle(void) { ballastSensorData.BallastPositionAngle = PotToRads(ballastSensorData.PotValue, ballastCalData.StarLimitValue, ballastCalData.PortLimitValue); }