Fixed includes for Baro
This commit is contained in:
parent
9cc6db625b
commit
b775ebd883
@ -13,8 +13,8 @@
|
|||||||
//!
|
//!
|
||||||
//! @todo
|
//! @todo
|
||||||
|
|
||||||
#include "mbed.h"
|
#include <mbed.h>
|
||||||
#include "ms5611.h"
|
#include "MS5611.h"
|
||||||
|
|
||||||
double P; // compensated pressure value (mB)
|
double P; // compensated pressure value (mB)
|
||||||
double T; // compensated temperature value (degC)
|
double T; // compensated temperature value (degC)
|
||||||
@ -408,4 +408,4 @@ float ms5611::getSeaLevelBaroM(float known_alt) {
|
|||||||
S = pow(pow((P * INHG), 0.190284) + 0.00001313 * known_alt * FTMETERS , 5.2553026) * MB;
|
S = pow(pow((P * INHG), 0.190284) + 0.00001313 * known_alt * FTMETERS , 5.2553026) * MB;
|
||||||
return((float)S);
|
return((float)S);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user