Add header guard to unit_conversion.h

pull/495/head
Jonathan G Rennison 1 year ago
parent fd532fbd6f
commit ffb6588481

@ -7,6 +7,9 @@
/** @file unit_conversion.h Functions related to unit conversion. */
#ifndef UNIT_CONVERSION_H
#define UNIT_CONVERSION_H
uint ConvertSpeedToDisplaySpeed(uint speed);
uint ConvertSpeedToUnitDisplaySpeed(uint speed);
uint ConvertDisplaySpeedToSpeed(uint speed);
@ -20,3 +23,5 @@ void ConvertPowerWeightRatioToDisplay(uint ratio, int64 &value, int64 &decimals)
void ConvertForceWeightRatioToDisplay(uint ratio, int64 &value, int64 &decimals);
uint ConvertDisplayToPowerWeightRatio(double in);
uint ConvertDisplayToForceWeightRatio(double in);
#endif /* UNIT_CONVERSION_H */

Loading…
Cancel
Save