Fixed includes for Baro

This commit is contained in:
philsson 2018-08-31 13:54:40 +02:00 committed by GitHub
parent 9cc6db625b
commit b775ebd883
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,8 +13,8 @@
//!
//! @todo
#include "mbed.h"
#include "ms5611.h"
#include <mbed.h>
#include "MS5611.h"
double P; // compensated pressure value (mB)
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;
return((float)S);
}