Add header guard to unit_conversion.h

This commit is contained in:
Jonathan G Rennison
2023-03-09 17:47:51 +00:00
parent fd532fbd6f
commit ffb6588481

View File

@@ -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 */