Travis file
This commit is contained in:
parent
c4b0b24f6b
commit
f2693a4c88
19
.travis.yml
19
.travis.yml
@ -1,3 +1,22 @@
|
||||
sudo: required
|
||||
language: c++
|
||||
|
||||
before_install:
|
||||
- sudo add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq gcc-arm-embedded --force-yes
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
|
||||
packages:
|
||||
- lib32bz2-1.0
|
||||
- lib32ncurses5
|
||||
- lib32z1
|
||||
|
||||
install:
|
||||
- sudo pip install -r mbed-os/requirements.txt
|
||||
|
||||
script:
|
||||
make
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "src/drivers/Servo.h"
|
||||
#include "src/drivers/servo.h"
|
||||
|
||||
#include "mbed-os/rtos/Thread.h"
|
||||
|
||||
@ -149,4 +149,4 @@ void Servo::stop()
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace drivers
|
||||
} // namespace drivers
|
||||
|
Loading…
x
Reference in New Issue
Block a user