Add header guard to unit_conversion.h
This commit is contained in:
		@@ -7,6 +7,9 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/** @file unit_conversion.h Functions related to unit conversion. */
 | 
					/** @file unit_conversion.h Functions related to unit conversion. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef UNIT_CONVERSION_H
 | 
				
			||||||
 | 
					#define UNIT_CONVERSION_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
uint ConvertSpeedToDisplaySpeed(uint speed);
 | 
					uint ConvertSpeedToDisplaySpeed(uint speed);
 | 
				
			||||||
uint ConvertSpeedToUnitDisplaySpeed(uint speed);
 | 
					uint ConvertSpeedToUnitDisplaySpeed(uint speed);
 | 
				
			||||||
uint ConvertDisplaySpeedToSpeed(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);
 | 
					void ConvertForceWeightRatioToDisplay(uint ratio, int64 &value, int64 &decimals);
 | 
				
			||||||
uint ConvertDisplayToPowerWeightRatio(double in);
 | 
					uint ConvertDisplayToPowerWeightRatio(double in);
 | 
				
			||||||
uint ConvertDisplayToForceWeightRatio(double in);
 | 
					uint ConvertDisplayToForceWeightRatio(double in);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* UNIT_CONVERSION_H */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user