fix: Frsky CAT01 negative altitude when going above 327 meters of takeoff height (#1974)

This commit is contained in:
Ktr128
2022-06-01 14:24:51 +10:00
committed by GitHub
parent 6b557e49ea
commit d70828579e
+1 -1
View File
@@ -89,7 +89,7 @@ extern uint32_t NV14internalModuleFwVersion;
extern int32_t getALT(uint32_t value);
signed short CalculateAltitude(unsigned int pressure)
int32_t CalculateAltitude(unsigned int pressure)
{
int32_t alt = getALT(pressure);
return alt;