fix(AFHDS3): Some sensor values displayed incorrectly (#3386)
* Fix the bug that some sensor values are displayed incorrectly * Fix typos * Fixed some units problem. * Unit of SNR should be db and not dbm. * Fixed Alt scaling in NV14. * Fixed the temperature and voltage error of the FRM303 module. * Fixed temperature data error. --------- Co-authored-by: Richard Li <richard.li@ces.hk>
This commit is contained in:
@@ -172,7 +172,7 @@ int32_t GetSensorValueFlySkyNv14(const FlyskyNv14Sensor* sensor,
|
||||
value = value & PRESSURE_MASK;
|
||||
break;
|
||||
case 1:
|
||||
value = CalculateAltitude(value);
|
||||
value = CalculateAltitude(10 * value);
|
||||
{
|
||||
tmr10ms_t currTimer = getTicks();
|
||||
int32_t currAlt = value;
|
||||
|
||||
Reference in New Issue
Block a user